aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-09-14 20:36:03 +0100
committerMohamedBassem <me@mbassem.com>2024-09-14 20:36:03 +0100
commit095995dd16be5b6d120ffb763b13a3075f4108ec (patch)
tree0167fb4282d40d4f72e25e1668ddb8077d29ece0 /apps/mobile
parent3452e47c94a55a525620c244f57edb9482989d1c (diff)
downloadkarakeep-095995dd16be5b6d120ffb763b13a3075f4108ec.tar.zst
fix(mobile): Fix some icon colors in dark mode
Diffstat (limited to 'apps/mobile')
-rw-r--r--apps/mobile/app.json4
-rw-r--r--apps/mobile/app/dashboard/(tabs)/index.tsx8
-rw-r--r--apps/mobile/app/dashboard/settings/theme.tsx2
3 files changed, 10 insertions, 4 deletions
diff --git a/apps/mobile/app.json b/apps/mobile/app.json
index e1f52acb..37ebcf7c 100644
--- a/apps/mobile/app.json
+++ b/apps/mobile/app.json
@@ -30,7 +30,7 @@
"NSAllowsLocalNetworking": true
}
},
- "buildNumber": "10"
+ "buildNumber": "11"
},
"android": {
"adaptiveIcon": {
@@ -48,7 +48,7 @@
}
},
"package": "app.hoarder.hoardermobile",
- "versionCode": 10
+ "versionCode": 11
},
"plugins": [
"expo-router",
diff --git a/apps/mobile/app/dashboard/(tabs)/index.tsx b/apps/mobile/app/dashboard/(tabs)/index.tsx
index 14c2d270..01b17276 100644
--- a/apps/mobile/app/dashboard/(tabs)/index.tsx
+++ b/apps/mobile/app/dashboard/(tabs)/index.tsx
@@ -4,6 +4,7 @@ import * as Haptics from "expo-haptics";
import * as ImagePicker from "expo-image-picker";
import NoteEditorModal from "@/components/bookmarks/NewBookmarkModal";
import UpdatingBookmarkList from "@/components/bookmarks/UpdatingBookmarkList";
+import { TailwindResolver } from "@/components/TailwindResolver";
import CustomSafeAreaView from "@/components/ui/CustomSafeAreaView";
import PageTitle from "@/components/ui/PageTitle";
import { useToast } from "@/components/ui/Toast";
@@ -95,7 +96,12 @@ export default function Home() {
className="absolute bottom-4 right-4 rounded-full bg-foreground p-6"
onPress={() => newBookmarkModal.current?.present()}
>
- <Plus size={30} color="white" />
+ <TailwindResolver
+ comp={(styles) => (
+ <Plus size={30} color={styles?.color?.toString()} />
+ )}
+ className="text-background"
+ />
</Pressable>
</CustomSafeAreaView>
);
diff --git a/apps/mobile/app/dashboard/settings/theme.tsx b/apps/mobile/app/dashboard/settings/theme.tsx
index dc7ba367..f7feacdb 100644
--- a/apps/mobile/app/dashboard/settings/theme.tsx
+++ b/apps/mobile/app/dashboard/settings/theme.tsx
@@ -23,7 +23,7 @@ export default function ThemePage() {
]
}
</Text>
- {isChecked && <Check />}
+ {isChecked && <Check color="rgb(0, 122, 255)" />}
</Pressable>,
<Divider
key={theme + "-divider"}