mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
fix: amoled mode and color scheme can't be changed
This commit is contained in:
parent
a7b9398708
commit
840e014f2b
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user