aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/app/sharing.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-11-23 23:21:03 +0000
committerMohamedBassem <me@mbassem.com>2024-11-23 23:21:03 +0000
commit27453300782a1bade030277c021d4961061e9c69 (patch)
treec7f805c909a103ee5895ab13d788a562eb7d1338 /apps/mobile/app/sharing.tsx
parentfbb264457d0d2737db33510303c3b3950e1e021e (diff)
downloadkarakeep-27453300782a1bade030277c021d4961061e9c69.tar.zst
feat(mobile): Add support for managing tags from mobile
Diffstat (limited to 'apps/mobile/app/sharing.tsx')
-rw-r--r--apps/mobile/app/sharing.tsx35
1 files changed, 24 insertions, 11 deletions
diff --git a/apps/mobile/app/sharing.tsx b/apps/mobile/app/sharing.tsx
index e41535b7..3551aea9 100644
--- a/apps/mobile/app/sharing.tsx
+++ b/apps/mobile/app/sharing.tsx
@@ -96,17 +96,30 @@ export default function Sharing() {
<Text className="text-4xl text-foreground">
{mode.type === "alreadyExists" ? "Already Hoarded!" : "Hoarded!"}
</Text>
- <Button
- label="Add to List"
- onPress={() => {
- router.push(
- `/dashboard/bookmarks/${mode.bookmarkId}/manage_lists`,
- );
- if (autoCloseTimeoutId) {
- clearTimeout(autoCloseTimeoutId);
- }
- }}
- />
+ <View className="flex flex-row gap-2">
+ <Button
+ label="Add to List"
+ onPress={() => {
+ router.push(
+ `/dashboard/bookmarks/${mode.bookmarkId}/manage_lists`,
+ );
+ if (autoCloseTimeoutId) {
+ clearTimeout(autoCloseTimeoutId);
+ }
+ }}
+ />
+ <Button
+ label="Manage Tags"
+ onPress={() => {
+ router.push(
+ `/dashboard/bookmarks/${mode.bookmarkId}/manage_tags`,
+ );
+ if (autoCloseTimeoutId) {
+ clearTimeout(autoCloseTimeoutId);
+ }
+ }}
+ />
+ </View>
<Pressable onPress={() => router.replace("dashboard")}>
<Text className="text-muted-foreground">Dismiss</Text>
</Pressable>