Skip to content

Commit

Permalink
local path
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangtian616 committed Jun 14, 2023
1 parent b28690f commit 6cf02f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/setting/download_setting.dart
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ class DownloadSetting {
if (!GetPlatform.isIOS) {
downloadPath.value = map['downloadPath'] ?? downloadPath.value;
}
extraGalleryScanPath.value = map['extraGalleryScanPath']?.cast<String>() ?? extraGalleryScanPath.value;
if (map['extraGalleryScanPath'] != null) {
extraGalleryScanPath.addAll(map['extraGalleryScanPath']?.cast<String>());
}
singleImageSavePath.value = map['singleImageSavePath'] ?? singleImageSavePath.value;
downloadOriginalImageByDefault.value = map['downloadOriginalImageByDefault'] ?? downloadOriginalImageByDefault.value;
downloadTaskConcurrency.value = map['downloadTaskConcurrency'];
Expand Down

0 comments on commit 6cf02f1

Please sign in to comment.