tangled
alpha
login
or
join now
stream.place
/
streamplace
77
fork
atom
Live video on the AT Protocol
77
fork
atom
overview
issues
1
pulls
pipelines
de-circular-dep everything
Natalie B.
2 months ago
f85149f5
3cb74694
+1
-6
2 changed files
expand all
collapse all
unified
split
js
app
components
provider
provider.tsx
features
streamplace
streamplaceProvider.tsx
+1
-4
js/app/components/provider/provider.tsx
···
1
1
import { LinkingOptions } from "@react-navigation/native";
2
2
-
import { ThemeProvider } from "@streamplace/components";
3
2
import React, { useEffect } from "react";
4
3
import { SafeAreaProvider } from "react-native-safe-area-context";
5
4
import SharedProvider from "./provider.shared";
···
21
20
}, []);
22
21
return (
23
22
<SafeAreaProvider>
24
24
-
<ThemeProvider forcedTheme="dark">
25
25
-
<SharedProvider linking={linking}>{children}</SharedProvider>
26
26
-
</ThemeProvider>
23
23
+
<SharedProvider linking={linking}>{children}</SharedProvider>
27
24
</SafeAreaProvider>
28
25
);
29
26
}
-2
js/app/features/streamplace/streamplaceProvider.tsx
···
1
1
-
import { Text } from "@streamplace/components";
2
1
import Loading from "components/loading/loading";
3
2
import { createContext, useEffect } from "react";
4
3
import { View } from "react-native";
···
28
27
if (!initialized) {
29
28
return (
30
29
<View style={[{ flex: 1 }]}>
31
31
-
<Text style={[{ color: "#fff" }]}>StreamplaceProvider loading...</Text>
32
30
<Loading />
33
31
</View>
34
32
);