From 27453300782a1bade030277c021d4961061e9c69 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 23 Nov 2024 23:21:03 +0000
Subject: feat(mobile): Add support for managing tags from mobile

---
 apps/mobile/app/sharing.tsx | 35 ++++++++++++++++++++++++-----------
 1 file changed, 24 insertions(+), 11 deletions(-)

(limited to 'apps/mobile/app/sharing.tsx')

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>
-- 
cgit v1.2.3-70-g09d2

