fix: amoled mode and color scheme can't be changed

This commit is contained in:
Kingkor Roy Tirtho 2023-12-02 22:05:35 +06:00
parent a7b9398708
commit 840e014f2b

View File

@ -184,7 +184,6 @@ class SpotubeState extends ConsumerState<Spotube> {
/// For enabling hot reload for audio player
if (!kDebugMode) return;
audioPlayer.dispose();
// youtube.close();
};
}, []);
@ -201,7 +200,7 @@ class SpotubeState extends ConsumerState<Spotube> {
Brightness.dark,
isAmoledTheme,
),
[paletteColor, accentMaterialColor, isAmoledTheme],
);
return MaterialApp.router(