mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-02 22:26:52 +02:00
feat(lyrics): keep the screen awake while viewing lyrics
This commit is contained in:
1 parent
a1cec6de51
commit
8aa8d598d8
14 files changed
+276
No files matched your search
@@ -81,6 +81,7 @@ class AppSettings {
|
||||
extensionVerificationBrowserMode; // 'external_first' or 'in_app_first'
|
||||
final String locale;
|
||||
final String lyricsMode;
|
||||
final bool keepScreenOnLyrics;
|
||||
final bool autoConvertDownloads;
|
||||
// Re-download a Hi-Res request at LOSSLESS when the file measures as fake.
|
||||
final bool redownloadFakeHiRes;
|
||||
@@ -185,6 +186,7 @@ class AppSettings {
|
||||
this.extensionVerificationBrowserMode = 'in_app_first',
|
||||
this.locale = 'system',
|
||||
this.lyricsMode = 'embed',
|
||||
this.keepScreenOnLyrics = true,
|
||||
this.autoConvertDownloads = false,
|
||||
this.redownloadFakeHiRes = false,
|
||||
this.autoConvertFormat = 'mp3',
|
||||
@@ -281,6 +283,7 @@ class AppSettings {
|
||||
String? extensionVerificationBrowserMode,
|
||||
String? locale,
|
||||
String? lyricsMode,
|
||||
bool? keepScreenOnLyrics,
|
||||
bool? autoConvertDownloads,
|
||||
bool? redownloadFakeHiRes,
|
||||
String? autoConvertFormat,
|
||||
@@ -382,6 +385,7 @@ class AppSettings {
|
||||
this.extensionVerificationBrowserMode,
|
||||
locale: locale ?? this.locale,
|
||||
lyricsMode: lyricsMode ?? this.lyricsMode,
|
||||
keepScreenOnLyrics: keepScreenOnLyrics ?? this.keepScreenOnLyrics,
|
||||
autoConvertDownloads: autoConvertDownloads ?? this.autoConvertDownloads,
|
||||
redownloadFakeHiRes: redownloadFakeHiRes ?? this.redownloadFakeHiRes,
|
||||
autoConvertFormat: autoConvertFormat ?? this.autoConvertFormat,
|
||||
|
||||
Reference in new issue
Block a user