Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: open note in new tab

Ammar Ahmed460c2b4662d6
diff --git a/apps/mobile/app/components/properties/index.js b/apps/mobile/app/components/properties/index.js
index e4c28a36b..9efa255b8 100644
--- a/apps/mobile/app/components/properties/index.js
+++ b/apps/mobile/app/components/properties/index.js
@@ -22,11 +22,13 @@ import { Platform, View } from "react-native";
import { FlatList } from "react-native-actions-sheet";
import { db } from "../../common/database";
import { DDS } from "../../services/device-detection";
-import { presentSheet } from "../../services/event-manager";
+import { eSendEvent, presentSheet } from "../../services/event-manager";
import { ColorValues } from "../../utils/colors";
+import { eOnLoadNote } from "../../utils/events";
import { SIZE } from "../../utils/size";
import SheetProvider from "../sheet-provider";
import { useSideBarDraggingStore } from "../side-menu/dragging-store";
+import { IconButton } from "../ui/icon-button";
import { Pressable } from "../ui/pressable";
import { ReminderTime } from "../ui/reminder-time";
import Heading from "../ui/typography/heading";
@@ -36,6 +38,7 @@ import { Items } from "./items";
import Notebooks from "./notebooks";
import { Synced } from "./synced";
import { TagStrip, Tags } from "./tags";
+import { tabBarRef } from "../../utils/global-refs";
const Line = ({ top = 6, bottom = 6 }) => {
const { colors } = useThemeColors();
@@ -90,31 +93,61 @@ export const Properties = ({ close = () => {}, item, buttons = [] }) => {
<View
style={{
flexDirection: "row",
- alignItems: "center"
+ justifyContent: "space-between"
}}
>
- {item.type === "color" ? (
- <Pressable
- type="accent"
- accentColor={item.colorCode}
- accentText={colors.static.white}
+ <View
+ style={{
+ flexDirection: "row",
+ alignItems: "center",
+ flexShrink: 1
+ }}
+ >
+ {item.type === "color" ? (
+ <Pressable
+ type="accent"
+ accentColor={item.colorCode}
+ accentText={colors.static.white}
+ style={{
+ width: 30,
+ height: 30,
+ borderRadius: 100,
+ marginRight: 10
+ }}
+ />
+ ) : null}
+
+ <Heading size={SIZE.lg}>
+ {item.type === "tag" && !isColor ? (
+ <Heading size={SIZE.xl} color={colors.primary.accent}>
+ #
+ </Heading>
+ ) : null}
+ {item.title}
+ </Heading>
+ </View>
+
+ {item.type === "note" ? (
+ <IconButton
+ name="open-in-new"
+ type="plain"
+ color={colors.primary.icon}
+ size={SIZE.lg}
style={{
- width: 30,
- height: 30,
- borderRadius: 100,
- marginRight: 10
+ alignSelf: "flex-start"
+ }}
+ onPress={() => {
+ close();
+ eSendEvent(eOnLoadNote, {
+ item: item,
+ presistTab: true
+ });
+ if (!DDS.isTab) {
+ tabBarRef.current?.goToPage(1);
+ }
}}
/>
) : null}
-
- <Heading size={SIZE.lg}>
- {item.type === "tag" && !isColor ? (
- <Heading size={SIZE.xl} color={colors.primary.accent}>
- #
- </Heading>
- ) : null}
- {item.title}
- </Heading>
</View>
{item.type === "notebook" && item.description ? (
diff --git a/apps/mobile/app/components/properties/items.js b/apps/mobile/app/components/properties/items.js
index 6fce5846e..bec18e87a 100644
--- a/apps/mobile/app/components/properties/items.js
+++ b/apps/mobile/app/components/properties/items.js
@@ -22,6 +22,7 @@ import React from "react";
import { Dimensions, ScrollView, View } from "react-native";
import Icon from "react-native-vector-icons/MaterialCommunityIcons";
import { useActions } from "../../hooks/use-actions";
+import { useStoredRef } from "../../hooks/use-stored-ref";
import { DDS } from "../../services/device-detection";
import { useSettingStore } from "../../stores/use-setting-store";
import { SIZE } from "../../utils/size";
@@ -31,6 +32,8 @@ import Paragraph from "../ui/typography/paragraph";
export const Items = ({ item, buttons, close }) => {
const { colors } = useThemeColors();
+ const topBarSorting = useStoredRef("topbar-sorting-ref", {});
+
const dimensions = useSettingStore((state) => state.dimensions);
const actions = useActions({ item, close });
const data = actions.filter((i) => buttons.indexOf(i.id) > -1 && !i.hidden);
@@ -118,7 +121,16 @@ export const Items = ({ item, buttons, close }) => {
const renderTopBarItem = (item, index) => {
return (
<Pressable
- onPress={item.func}
+ onPress={() => {
+ item.func();
+ setImmediate(() => {
+ const currentValue = topBarSorting.current[item.id] || 0;
+ topBarSorting.current = {
+ ...topBarSorting.current,
+ [item.id]: currentValue + 1
+ };
+ });
+ }}
key={item.id}
testID={"icon-" + item.id}
activeOpacity={1}
@@ -171,36 +183,36 @@ export const Items = ({ item, buttons, close }) => {
"favorite",
"copy",
"share",
+ "lock-unlock",
+ "publish",
"export",
- "lock-unlock"
+ "copy-link",
+ "duplicate",
+ "local-only",
+ "read-only"
];
const bottomBarItemsList = [
"notebooks",
"add-reminder",
"pin-to-notifications",
- "duplicate",
- "read-only",
- "local-only",
"history",
"reminders",
"attachments",
"references",
- "copy-link",
"trash"
];
- if (!shouldShrink) {
- topBarItemsList.push("publish");
- } else {
- bottomBarItemsList.splice(4, 0, "publish");
- }
-
const topBarItems = data
.filter((item) => topBarItemsList.indexOf(item.id) > -1)
.sort((a, b) =>
topBarItemsList.indexOf(a.id) > topBarItemsList.indexOf(b.id) ? 1 : -1
- );
+ )
+ .sort((a, b) => {
+ return (
+ (topBarSorting.current[b.id] || 0) - (topBarSorting.current[a.id] || 0)
+ );
+ });
const bottomGridItems = data
.filter((item) => bottomBarItemsList.indexOf(item.id) > -1)
@@ -214,8 +226,8 @@ export const Items = ({ item, buttons, close }) => {
(width - (topBarItems.length * 10 + 14)) / topBarItems.length;
topBarItemWidth;
- if (topBarItemWidth < 55) {
- topBarItemWidth = 55;
+ if (topBarItemWidth < 60) {
+ topBarItemWidth = 60;
}
return item.type === "note" ? (
@@ -224,10 +236,13 @@ export const Items = ({ item, buttons, close }) => {
horizontal
style={{
paddingHorizontal: 12,
- marginTop: 6
+ marginTop: 6,
+ marginBottom: 6
}}
+ showsHorizontalScrollIndicator={false}
contentContainerStyle={{
- gap: 10
+ gap: 10,
+ paddingRight: 25
}}
>
{topBarItems.map(renderTopBarItem)}
diff --git a/apps/mobile/app/hooks/use-actions.tsx b/apps/mobile/app/hooks/use-actions.tsx
index 31d309e35..4f184e1b5 100644
--- a/apps/mobile/app/hooks/use-actions.tsx
+++ b/apps/mobile/app/hooks/use-actions.tsx
@@ -862,7 +862,7 @@ export const useActions = ({
},
{
id: "local-only",
- title: "Local only",
+ title: "Sync off",
icon: "sync-off",
func: toggleLocalOnly,
on: item.localOnly
diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor.ts b/apps/mobile/app/screens/editor/tiptap/use-editor.ts
index dbdf8f1cc..c835d4bdd 100644
--- a/apps/mobile/app/screens/editor/tiptap/use-editor.ts
+++ b/apps/mobile/app/screens/editor/tiptap/use-editor.ts
@@ -365,6 +365,7 @@ export const useEditor = (
newNote?: boolean;
tabId?: number;
blockId?: string;
+ presistTab?: boolean;
}) => {
if (event.blockId) {
blockIdRef.current = event.blockId;
@@ -426,13 +427,25 @@ export const useEditor = (
}
console.log("Note already loaded, focusing the tab");
} else {
- console.log("Opening note in preview tab");
- // Otherwise we focus the preview tab or create one to open the note in.
- useTabStore.getState().focusPreviewTab(event.item.id, {
- readonly: event.item.readonly || readonly,
- locked: noteIsLocked,
- noteLocked: noteIsLocked
- });
+ if (event.presistTab) {
+ // Open note in new tab.
+ useTabStore.getState().newTab({
+ readonly: event.item.readonly || readonly,
+ locked: noteIsLocked,
+ noteLocked: noteIsLocked,
+ noteId: event.item.id,
+ previewTab: false
+ });
+ console.log("Opening note in new tab");
+ } else {
+ console.log("Opening note in preview tab");
+ // Otherwise we focus the preview tab or create one to open the note in.
+ useTabStore.getState().focusPreviewTab(event.item.id, {
+ readonly: event.item.readonly || readonly,
+ locked: noteIsLocked,
+ noteLocked: noteIsLocked
+ });
+ }
}
} else {
if (lastTabFocused.current !== event.tabId) {
diff --git a/apps/mobile/native/fonts/MaterialCommunityIcons.ttf b/apps/mobile/native/fonts/MaterialCommunityIcons.ttf
index f17bcc125..358dac3c4 100644
Binary files a/apps/mobile/native/fonts/MaterialCommunityIcons.ttf and b/apps/mobile/native/fonts/MaterialCommunityIcons.ttf differ
diff --git a/apps/mobile/patches/react-native-vector-icons+9.2.0.patch b/apps/mobile/patches/react-native-vector-icons+9.2.0.patch
index 16d3e2f00..afac34aa1 100644
--- a/apps/mobile/patches/react-native-vector-icons+9.2.0.patch
+++ b/apps/mobile/patches/react-native-vector-icons+9.2.0.patch
@@ -1,3 +1,14 @@
+diff --git a/node_modules/react-native-vector-icons/android/build/.transforms/1a87deef090d6cf8aea1dfa552bdc5fd/results.bin b/node_modules/react-native-vector-icons/android/build/.transforms/1a87deef090d6cf8aea1dfa552bdc5fd/results.bin
+new file mode 100644
+index 0000000..0d259dd
+--- /dev/null
++++ b/node_modules/react-native-vector-icons/android/build/.transforms/1a87deef090d6cf8aea1dfa552bdc5fd/results.bin
+@@ -0,0 +1 @@
++o/classes
+diff --git a/node_modules/react-native-vector-icons/android/build/.transforms/1a87deef090d6cf8aea1dfa552bdc5fd/transformed/classes/classes.dex b/node_modules/react-native-vector-icons/android/build/.transforms/1a87deef090d6cf8aea1dfa552bdc5fd/transformed/classes/classes.dex
+new file mode 100644
+index 0000000..d4bdd72
+Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/.transforms/1a87deef090d6cf8aea1dfa552bdc5fd/transformed/classes/classes.dex differ
diff --git a/node_modules/react-native-vector-icons/android/build/.transforms/8ba358b129ab2b7100dd2d41942baf40/results.bin b/node_modules/react-native-vector-icons/android/build/.transforms/8ba358b129ab2b7100dd2d41942baf40/results.bin
new file mode 100644
index 0000000..e69de29
@@ -10,8 +21,7 @@ index 0000000..0d259dd
+o/classes
diff --git a/node_modules/react-native-vector-icons/android/build/.transforms/9469767ddf733a51f4497b9a4a4c145a/transformed/classes/classes.dex b/node_modules/react-native-vector-icons/android/build/.transforms/9469767ddf733a51f4497b9a4a4c145a/transformed/classes/classes.dex
new file mode 100644
-index 0000000..d4bdd72
-Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/.transforms/9469767ddf733a51f4497b9a4a4c145a/transformed/classes/classes.dex differ
+index 0000000..e69de29
diff --git a/node_modules/react-native-vector-icons/android/build/.transforms/f1314fc28eaff1170375cbb76465cb24/results.bin b/node_modules/react-native-vector-icons/android/build/.transforms/f1314fc28eaff1170375cbb76465cb24/results.bin
new file mode 100644
index 0000000..0d259dd
@@ -176,16 +186,14 @@ index 0000000..77c2a69
Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/intermediates/compile_library_classes_jar/debug/classes.jar differ
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/compile_library_classes_jar/release/classes.jar b/node_modules/react-native-vector-icons/android/build/intermediates/compile_library_classes_jar/release/classes.jar
new file mode 100644
-index 0000000..b260e34
-Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/intermediates/compile_library_classes_jar/release/classes.jar differ
+index 0000000..e69de29
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/compile_r_class_jar/debug/R.jar b/node_modules/react-native-vector-icons/android/build/intermediates/compile_r_class_jar/debug/R.jar
new file mode 100644
index 0000000..bd4434a
Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/intermediates/compile_r_class_jar/debug/R.jar differ
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/compile_r_class_jar/release/R.jar b/node_modules/react-native-vector-icons/android/build/intermediates/compile_r_class_jar/release/R.jar
new file mode 100644
-index 0000000..bd4434a
-Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/intermediates/compile_r_class_jar/release/R.jar differ
+index 0000000..e69de29
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/compile_symbol_list/debug/R.txt b/node_modules/react-native-vector-icons/android/build/intermediates/compile_symbol_list/debug/R.txt
new file mode 100644
index 0000000..5347f17
@@ -4108,11 +4116,11 @@ index 0000000..5347f17
+int xml rn_dev_preferences 0x0
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties b/node_modules/react-native-vector-icons/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties
new file mode 100644
-index 0000000..dd2a9bf
+index 0000000..3b5ce7a
--- /dev/null
+++ b/node_modules/react-native-vector-icons/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties
@@ -0,0 +1 @@
-+#Tue Dec 12 11:49:19 PKT 2023
++#Sat Mar 16 07:24:12 PKT 2024
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml b/node_modules/react-native-vector-icons/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml
new file mode 100644
index 0000000..c417283
@@ -4210,20 +4218,16 @@ index 0000000..07a935e
Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/intermediates/javac/debug/classes/com/oblador/vectoricons/VectorIconsPackage.class differ
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/javac/release/classes/com/oblador/vectoricons/BuildConfig.class b/node_modules/react-native-vector-icons/android/build/intermediates/javac/release/classes/com/oblador/vectoricons/BuildConfig.class
new file mode 100644
-index 0000000..9b250ed
-Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/intermediates/javac/release/classes/com/oblador/vectoricons/BuildConfig.class differ
+index 0000000..e69de29
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/javac/release/classes/com/oblador/vectoricons/VectorIconsModule$Errors.class b/node_modules/react-native-vector-icons/android/build/intermediates/javac/release/classes/com/oblador/vectoricons/VectorIconsModule$Errors.class
new file mode 100644
-index 0000000..3348b06
-Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/intermediates/javac/release/classes/com/oblador/vectoricons/VectorIconsModule$Errors.class differ
+index 0000000..e69de29
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/javac/release/classes/com/oblador/vectoricons/VectorIconsModule.class b/node_modules/react-native-vector-icons/android/build/intermediates/javac/release/classes/com/oblador/vectoricons/VectorIconsModule.class
new file mode 100644
-index 0000000..de0d974
-Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/intermediates/javac/release/classes/com/oblador/vectoricons/VectorIconsModule.class differ
+index 0000000..e69de29
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/javac/release/classes/com/oblador/vectoricons/VectorIconsPackage.class b/node_modules/react-native-vector-icons/android/build/intermediates/javac/release/classes/com/oblador/vectoricons/VectorIconsPackage.class
new file mode 100644
-index 0000000..07a935e
-Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/intermediates/javac/release/classes/com/oblador/vectoricons/VectorIconsPackage.class differ
+index 0000000..e69de29
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/local_only_symbol_list/debug/R-def.txt b/node_modules/react-native-vector-icons/android/build/intermediates/local_only_symbol_list/debug/R-def.txt
new file mode 100644
index 0000000..78ac5b8
@@ -4368,8 +4372,7 @@ index 0000000..f0a7660
Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar differ
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/runtime_library_classes_jar/release/classes.jar b/node_modules/react-native-vector-icons/android/build/intermediates/runtime_library_classes_jar/release/classes.jar
new file mode 100644
-index 0000000..15d0133
-Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/intermediates/runtime_library_classes_jar/release/classes.jar differ
+index 0000000..e69de29
diff --git a/node_modules/react-native-vector-icons/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt b/node_modules/react-native-vector-icons/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt
new file mode 100644
index 0000000..873e0a9
@@ -7344,8 +7347,7 @@ index 0000000..26da0e3
Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin differ
diff --git a/node_modules/react-native-vector-icons/android/build/tmp/compileReleaseJavaWithJavac/previous-compilation-data.bin b/node_modules/react-native-vector-icons/android/build/tmp/compileReleaseJavaWithJavac/previous-compilation-data.bin
new file mode 100644
-index 0000000..2fc44de
-Binary files /dev/null and b/node_modules/react-native-vector-icons/android/build/tmp/compileReleaseJavaWithJavac/previous-compilation-data.bin differ
+index 0000000..e69de29
diff --git a/node_modules/react-native-vector-icons/fonts.gradle b/node_modules/react-native-vector-icons/fonts.gradle
index 5485fac..ef3ccb3 100644
--- a/node_modules/react-native-vector-icons/fonts.gradle
@@ -7362,7 +7364,7 @@ index 5485fac..ef3ccb3 100644
generateAssetsTask.dependsOn(fontCopyTask)
}
diff --git a/node_modules/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json b/node_modules/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json
-index c06a819..f815d5a 100644
+index c06a819..dfceab4 100644
--- a/node_modules/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json
+++ b/node_modules/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json
@@ -1,6598 +1 @@
@@ -13965,7 +13967,7 @@ index c06a819..f815d5a 100644
- "blank": 63116
-}
\ No newline at end of file
-+{"menu":983900,"lock-open-outline":983872,"key-outline":986582,"pin-off-outline":985392,"pin-outline":985393,"star-off":984273,"star-outline":984274,"link-variant-remove":987393,"link-variant":983865,"link-variant-off":983866,"bell":983194,"bell-off-outline":985745,"check":983340,"magnify":983881,"plus":984085,"view-list-outline":988299,"view-list":984434,"play":984074,"pause":984036,"notebook-outline":986815,"text-short":985513,"radiobox-marked":984126,"radiobox-blank":984125,"sort-descending":984253,"information":983804,"sort-ascending":984252,"alert":983078,"arrow-right":983124,"bookmark-outline":983235,"checkbox-marked":983346,"checkbox-blank-outline":983345,"unfold-less-horizontal":984398,"minus-circle":983926,"vibrate":984422,"volume-high":984446,"checkbox-blank-circle-outline":983344,"check-circle-outline":984545,"chevron-up":983363,"chevron-down":983360,"calendar":983277,"minus-circle-outline":983927,"close-circle-outline":983386,"qrcode":984114,"text":985512,"cloud":983391,"restore":985499,"delete-outline":985575,"link":983863,"square-edit-outline":985356,"pencil":984043,"delete-restore":985113,"delete":983476,"notebook":985134,"attachment":983142,"history":983770,"clock-outline":983376,"content-copy":983439,"share-variant":984215,"pencil-lock":984046,"sync-off":984296,"content-duplicate":983441,"clock-plus-outline":989282,"cloud-upload-outline":985982,"export":983559,"message-badge-outline":989506,"book-outline":985956,"pound":984099,"cloud-upload":983399,"star":984270,"key":983814,"account-outline":983059,"email":983534,"backup-restore":983151,"update":984752,"android":983090,"web":984479,"home-variant-outline":986023,"text-box-multiple-outline":985784,"download":983514,"circle-small":985567,"fingerprint":983607,"upload":984402,"file-check":983574,"form-textbox":984590,"file":983572,"alert-circle-outline":984534,"check-all":983341,"shield-key-outline":986053,"arrow-left":983117,"message-plus-outline":987323,"email-outline":983536,"cellphone-key":985422,"dots-vertical":983513,"close":983382,"chevron-right":983362,"emoticon-wink":986232,"sync":984294,"shield":984216,"billboard":987152,"cellphone":983324,"cellphone-lock":985423,"lock":983870,"file-lock":983585,"image-multiple":983801,"harddisk":983754,"file-cabinet":985782,"refresh":984144,"emoticon":986216,"palette":984024,"pin":984067,"format-bold":983652,"table":984299,"language-markdown":983892,"gesture-tap-button":987816,"send-lock":985069,"bomb":984721,"file-pdf-box":983590,"language-html5":983837,"clipboard-text-outline":985656,"theme-light-dark":984334,"invert-colors":983809,"select-all":984198,"minus":983924,"crown":983461,"arrow-top-right-thick":985542,"checkbox-blank-circle":983343,"sync-alert":984295,"information-outline":983805,"bookmark":983232,"note":983962,"cog-outline":985275,"dots-horizontal":983512,"chevron-left":983361,"shield-lock":985501,"account-cog":988016,"two-factor-authentication":985519,"logout":983875,"autorenew":983146,"shape":985137,"circle-half":988053,"brightness-6":983263,"note-edit-outline":989058,"format-line-spacing":983672,"format-size":983679,"format-font":984790,"radar":984119,"arrow-decision-outline":985534,"eye-off-outline":984785,"folder":983627,"bell-outline":983196,"bell-ring":983198,"bug":983268,"mail":986811,"file-document":983577,"mastodon":985809,"twitter":984388,"discord":984687,"open-source-initiative":986030,"monitor":983929,"chart-timeline":984686,"cellphone-arrow-down":985557,"alpha-v":985859,"alert-circle":983080,"reload":984147,"card-text":985975,"open-in-new":984012,"eye":983560,"drag":983515,"menu-down":983901}
++{"menu":983900,"lock-open-outline":983872,"key-outline":986582,"pin-off-outline":985392,"pin-outline":985393,"star-off":984273,"star-outline":984274,"link-variant-remove":987393,"link-variant":983865,"link-variant-off":983866,"bell":983194,"bell-off-outline":985745,"check":983340,"magnify":983881,"plus":984085,"view-list-outline":988299,"view-list":984434,"tab-plus":984924,"play":984074,"pause":984036,"notebook-outline":986815,"text-short":985513,"radiobox-marked":984126,"radiobox-blank":984125,"sort-descending":984253,"information":983804,"sort-ascending":984252,"alert":983078,"arrow-right":983124,"bookmark-outline":983235,"checkbox-marked":983346,"checkbox-blank-outline":983345,"unfold-less-horizontal":984398,"minus-circle":983926,"vibrate":984422,"volume-high":984446,"checkbox-blank-circle-outline":983344,"check-circle-outline":984545,"chevron-up":983363,"chevron-down":983360,"calendar":983277,"minus-circle-outline":983927,"close-circle-outline":983386,"qrcode":984114,"text":985512,"cloud":983391,"restore":985499,"keyboard":983820,"numeric":983968,"vector-link":987112,"link":983863,"square-edit-outline":985356,"pencil":984043,"delete-restore":985113,"delete":983476,"notebook":985134,"attachment":983142,"history":983770,"clock-outline":983376,"content-copy":983439,"share-variant":984215,"pencil-lock":984046,"sync-off":984296,"content-duplicate":983441,"clock-plus-outline":989282,"cloud-upload-outline":985982,"export":983559,"message-badge-outline":989506,"book-outline":985956,"pound":984099,"delete-outline":985575,"cloud-upload":983399,"star":984270,"key":983814,"account-outline":983059,"email":983534,"backup-restore":983151,"update":984752,"android":983090,"web":984479,"home-variant-outline":986023,"text-box-multiple-outline":985784,"download":983514,"circle-small":985567,"fingerprint":983607,"upload":984402,"file-check":983574,"form-textbox":984590,"file":983572,"alert-circle-outline":984534,"arrow-left":983117,"check-all":983341,"shield-key-outline":986053,"message-plus-outline":987323,"email-outline":983536,"cellphone-key":985422,"dots-vertical":983513,"close":983382,"chevron-right":983362,"emoticon-wink":986232,"sync":984294,"shield":984216,"billboard":987152,"cellphone":983324,"cellphone-lock":985423,"lock":983870,"file-lock":983585,"image-multiple":983801,"harddisk":983754,"file-cabinet":985782,"refresh":984144,"emoticon":986216,"palette":984024,"pin":984067,"format-bold":983652,"table":984299,"language-markdown":983892,"gesture-tap-button":987816,"send-lock":985069,"bomb":984721,"file-pdf-box":983590,"language-html5":983837,"clipboard-text-outline":985656,"theme-light-dark":984334,"invert-colors":983809,"crown":983461,"select-all":984198,"minus":983924,"information-outline":983805,"cog-outline":985275,"arrow-top-right-thick":985542,"checkbox-blank-circle":983343,"sync-alert":984295,"bookmark":983232,"note":983962,"dots-horizontal":983512,"shield-lock":985501,"chevron-left":983361,"account-cog":988016,"two-factor-authentication":985519,"logout":983875,"autorenew":983146,"shape":985137,"circle-half":988053,"brightness-6":983263,"note-edit-outline":989058,"format-line-spacing":983672,"format-size":983679,"format-font":984790,"radar":984119,"arrow-decision-outline":985534,"eye-off-outline":984785,"folder":983627,"bell-outline":983196,"bell-ring":983198,"bug":983268,"mail":986811,"file-document":983577,"mastodon":985809,"twitter":984388,"discord":984687,"open-source-initiative":986030,"monitor":983929,"chart-timeline":984686,"cellphone-arrow-down":985557,"alpha-v":985859,"alert-circle":983080,"reload":984147,"card-text":985975,"open-in-new":984012,"eye":983560,"drag":983515,"menu-down":983901}
\ No newline at end of file
diff --git a/node_modules/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.old.json b/node_modules/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.old.json
new file mode 100644
diff --git a/apps/mobile/scripts/optimize-fonts.mjs b/apps/mobile/scripts/optimize-fonts.mjs
index 4899794a2..2960b5379 100644
--- a/apps/mobile/scripts/optimize-fonts.mjs
+++ b/apps/mobile/scripts/optimize-fonts.mjs
@@ -44,6 +44,7 @@ const EXTRA_ICON_NAMES = [
"plus",
"view-list-outline",
"view-list",
+ "tab-plus",
"play",
"pause",
"notebook-outline",