feat(lyrics): keep the screen awake while viewing lyrics

This commit is contained in:
zarzet committed 2026-09-30 20:21:21 +07:00
1 parent a1cec6de51
commit 8aa8d598d8
14 files changed
+276

No files matched your search

+5
View File
@@ -613,6 +613,11 @@ class SettingsNotifier extends Notifier<AppSettings> {
}
}
void setKeepScreenOnLyrics(bool enabled) {
state = state.copyWith(keepScreenOnLyrics: enabled);
_saveSettings();
}
void setLyricsMode(String mode) {
if (mode == 'embed' || mode == 'external' || mode == 'both') {
state = state.copyWith(lyricsMode: mode);