aboutsummaryrefslogtreecommitdiff
path: root/App.tsx
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-09-28 22:19:31 +0530
committerAkshay Nair <phenax5@gmail.com>2024-09-29 16:16:39 +0530
commit34b8c1f962a5c835351dc6f4369757259998af16 (patch)
tree6f836fdaaedfec125b1202f3b5f9ce24e6277f11 /App.tsx
parenta1143f3696a0b272018f7eea43ee23a674c618e1 (diff)
downloaddaft-launcher-34b8c1f962a5c835351dc6f4369757259998af16.tar.gz
daft-launcher-34b8c1f962a5c835351dc6f4369757259998af16.zip
Finish up app menu + fix drag interaction
Diffstat (limited to 'App.tsx')
-rw-r--r--App.tsx13
1 files changed, 8 insertions, 5 deletions
diff --git a/App.tsx b/App.tsx
index 1852a04..dd4cdd8 100644
--- a/App.tsx
+++ b/App.tsx
@@ -2,14 +2,17 @@ import React from 'react';
import {SafeAreaView} from 'react-native';
import {GestureHandlerRootView} from 'react-native-gesture-handler';
import {View} from './src/View';
+import {Provider as JotaiProvider} from 'jotai';
const App: React.FC = () => {
return (
- <GestureHandlerRootView>
- <SafeAreaView className="flex flex-1 bg-black">
- <View />
- </SafeAreaView>
- </GestureHandlerRootView>
+ <JotaiProvider>
+ <GestureHandlerRootView>
+ <SafeAreaView className="flex flex-1 bg-black text-slate-200">
+ <View />
+ </SafeAreaView>
+ </GestureHandlerRootView>
+ </JotaiProvider>
);
};