This commit is contained in:
Fredrik Burmester
2024-09-24 20:04:50 +02:00
parent 7fd232614b
commit cd6158e141
4 changed files with 27 additions and 17 deletions

View File

@@ -87,19 +87,17 @@ export default function settings() {
<SettingToggles />
{/* <View>
<View>
<Text className="font-bold text-lg mb-2">Tests</Text>
<Button
onPress={() => {
toast.success("Download started", {
invert: true,
});
toast.success("Download started");
}}
color="black"
>
Test toast
</Button>
</View> */}
</View>
<View>
<Text className="font-bold text-lg mb-2">Account and storage</Text>

View File

@@ -131,7 +131,19 @@ function Layout() {
<Stack.Screen name="+not-found" />
</Stack>
{/* <FullScreenVideoPlayer /> */}
<Toaster />
<Toaster
duration={2000}
toastOptions={{
style: {
backgroundColor: "#262626",
borderColor: "#363639",
borderWidth: 1,
},
titleStyle: {
color: "white",
},
}}
/>
</ThemeProvider>
</PlaybackProvider>
</JellyfinProvider>