mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-11 02:08:44 +02:00
feat: add new playback experience and media integration
This commit is contained in:
1 parent
bede5ae8d7
commit
3a2481e8b2
15 files changed
+2636
-7
No files matched your search
@@ -94,6 +94,8 @@ class AppSettings {
|
||||
deduplicateDownloads;
|
||||
final bool saveDownloadHistory;
|
||||
|
||||
final String playerMode;
|
||||
|
||||
const AppSettings({
|
||||
this.defaultService = '',
|
||||
this.audioQuality = 'LOSSLESS',
|
||||
@@ -155,6 +157,7 @@ class AppSettings {
|
||||
this.lastSeenVersion = '',
|
||||
this.deduplicateDownloads = true,
|
||||
this.saveDownloadHistory = true,
|
||||
this.playerMode = 'external',
|
||||
});
|
||||
|
||||
AppSettings copyWith({
|
||||
@@ -221,6 +224,7 @@ class AppSettings {
|
||||
String? lastSeenVersion,
|
||||
bool? deduplicateDownloads,
|
||||
bool? saveDownloadHistory,
|
||||
String? playerMode,
|
||||
}) {
|
||||
return AppSettings(
|
||||
defaultService: defaultService ?? this.defaultService,
|
||||
@@ -305,6 +309,7 @@ class AppSettings {
|
||||
lastSeenVersion: lastSeenVersion ?? this.lastSeenVersion,
|
||||
deduplicateDownloads: deduplicateDownloads ?? this.deduplicateDownloads,
|
||||
saveDownloadHistory: saveDownloadHistory ?? this.saveDownloadHistory,
|
||||
playerMode: playerMode ?? this.playerMode,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user