Skip to content

Commit

Permalink
fix: amoled mode and color scheme can't be changed
Browse files Browse the repository at this point in the history
  • Loading branch information
KRTirtho committed Dec 2, 2023
1 parent a7b9398 commit 840e014
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ class SpotubeState extends ConsumerState<Spotube> {
/// For enabling hot reload for audio player
if (!kDebugMode) return;
audioPlayer.dispose();
// youtube.close();
};
}, []);

Expand All @@ -201,7 +200,7 @@ class SpotubeState extends ConsumerState<Spotube> {
Brightness.dark,
isAmoledTheme,
),

[paletteColor, accentMaterialColor, isAmoledTheme],
);

return MaterialApp.router(
Expand Down

0 comments on commit 840e014

Please sign in to comment.