diff --git a/apps/mobile/app/common/database/index.js b/apps/mobile/app/common/database/index.js index dfbf4636f..1690250f4 100644 --- a/apps/mobile/app/common/database/index.js +++ b/apps/mobile/app/common/database/index.js @@ -49,16 +49,16 @@ export var db = new Database( db.host( __DEV__ ? { - // API_HOST: "https://api.notesnook.com", - // AUTH_HOST: "https://auth.streetwriters.co", - // SSE_HOST: "https://events.streetwriters.co", - // SUBSCRIPTIONS_HOST: "https://subscriptions.streetwriters.co", - // ISSUES_HOST: "https://issues.streetwriters.co" - API_HOST: "http://192.168.8.101:5264", - AUTH_HOST: "http://192.168.8.101:8264", - SSE_HOST: "http://192.168.8.101:7264", - SUBSCRIPTIONS_HOST: "http://192.168.8.101:9264", - ISSUES_HOST: "http://192.168.8.101:2624" + API_HOST: "https://api.notesnook.com", + AUTH_HOST: "https://auth.streetwriters.co", + SSE_HOST: "https://events.streetwriters.co", + SUBSCRIPTIONS_HOST: "https://subscriptions.streetwriters.co", + ISSUES_HOST: "https://issues.streetwriters.co" + // API_HOST: "http://192.168.8.101:5264", + // AUTH_HOST: "http://192.168.8.101:8264", + // SSE_HOST: "http://192.168.8.101:7264", + // SUBSCRIPTIONS_HOST: "http://192.168.8.101:9264", + // ISSUES_HOST: "http://192.168.8.101:2624" } : { API_HOST: "https://api.notesnook.com", diff --git a/apps/mobile/app/components/list-items/note/index.js b/apps/mobile/app/components/list-items/note/index.js index fe49f45b0..db554137b 100644 --- a/apps/mobile/app/components/list-items/note/index.js +++ b/apps/mobile/app/components/list-items/note/index.js @@ -17,13 +17,10 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -import { - formatReminderTime, - getUpcomingReminder -} from "@notesnook/core/collections/reminders"; +import { getUpcomingReminder } from "@notesnook/core/collections/reminders"; import { decode, EntityLevel } from "entities"; import React from "react"; -import { TouchableOpacity, View } from "react-native"; +import { View } from "react-native"; import Icon from "react-native-vector-icons/MaterialCommunityIcons"; import { notesnook } from "../../../../e2e/test.ids"; import { db } from "../../../common/database"; diff --git a/apps/mobile/app/components/side-menu/menu-item.js b/apps/mobile/app/components/side-menu/menu-item.js index cc979b584..bb331f1f7 100644 --- a/apps/mobile/app/components/side-menu/menu-item.js +++ b/apps/mobile/app/components/side-menu/menu-item.js @@ -123,6 +123,22 @@ export const MenuItem = React.memo( ) : ( {item.name} )} + {item.isBeta ? ( + + + BETA + + + ) : null} {item.switch ? ( diff --git a/apps/mobile/app/components/tabs/index.tsx b/apps/mobile/app/components/tabs/index.tsx index 7a58ebdb1..913fa0c02 100644 --- a/apps/mobile/app/components/tabs/index.tsx +++ b/apps/mobile/app/components/tabs/index.tsx @@ -55,8 +55,8 @@ export interface TabsRef { goToIndex: (index: number, animated?: boolean) => 0 | undefined; unlock: () => boolean; lock: () => boolean; - openDrawer: (animated: boolean) => void; - closeDrawer: (animated: boolean) => void; + openDrawer: (animated?: boolean) => void; + closeDrawer: (animated?: boolean) => void; page: number; setScrollEnabled: () => true; isDrawerOpen: () => boolean; diff --git a/apps/mobile/app/utils/constants.js b/apps/mobile/app/utils/constants.js index d76e81478..4c03536ca 100644 --- a/apps/mobile/app/utils/constants.js +++ b/apps/mobile/app/utils/constants.js @@ -131,7 +131,8 @@ export const MenuItemsList = [ { name: "Reminders", icon: "bell", - close: true + close: true, + isBeta:true }, { name: "Monographs",