aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/lib
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-15 16:34:42 +0000
committerMohamedBassem <me@mbassem.com>2024-03-15 16:34:42 +0000
commitf922e1650df550b3dec2f010ffdc6c15ea11390d (patch)
treed09c3ce868429c84473f7aa5f450d75521ee7162 /apps/mobile/lib
parent49f44900cb553905bdb565ae12cb09676d93d4fc (diff)
downloadkarakeep-f922e1650df550b3dec2f010ffdc6c15ea11390d.tar.zst
fix(mobile): Bump expo-share-intent version and remove the hacks around the old version
Diffstat (limited to 'apps/mobile/lib')
-rw-r--r--apps/mobile/lib/last-shared-intent.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/apps/mobile/lib/last-shared-intent.ts b/apps/mobile/lib/last-shared-intent.ts
deleted file mode 100644
index 951bcf74..00000000
--- a/apps/mobile/lib/last-shared-intent.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { create } from "zustand";
-
-interface LastSharedIntent {
- lastIntent: string;
- setIntent: (intent: string) => void;
- isPreviouslyShared: (intent: string) => boolean;
-}
-
-export const useLastSharedIntent = create<LastSharedIntent>((set, get) => ({
- lastIntent: "",
- setIntent: (intent: string) => set({ lastIntent: intent }),
- isPreviouslyShared: (intent: string) => {
- return get().lastIntent === intent;
- },
-}));