mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05: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
|
/// For enabling hot reload for audio player
|
||||||
if (!kDebugMode) return;
|
if (!kDebugMode) return;
|
||||||
audioPlayer.dispose();
|
audioPlayer.dispose();
|
||||||
// youtube.close();
|
|
||||||
};
|
};
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
@ -201,7 +200,7 @@ class SpotubeState extends ConsumerState<Spotube> {
|
|||||||
Brightness.dark,
|
Brightness.dark,
|
||||||
isAmoledTheme,
|
isAmoledTheme,
|
||||||
),
|
),
|
||||||
|
[paletteColor, accentMaterialColor, isAmoledTheme],
|
||||||
);
|
);
|
||||||
|
|
||||||
return MaterialApp.router(
|
return MaterialApp.router(
|
||||||
|
Loading…
Reference in New Issue
Block a user