mirror of
https://github.com/wgh136/pixes.git
synced 2025-09-27 12:57:24 +00:00
fix ui
This commit is contained in:
@@ -18,7 +18,7 @@ class _Appdata {
|
||||
"downloadSubPath": r"/${id}-p${index}.${ext}",
|
||||
"tagsWeight": "",
|
||||
"useTranslatedNameForDownload": false,
|
||||
"maxDownloadParallels": 3
|
||||
"maxParallels": 3
|
||||
};
|
||||
|
||||
bool lock = false;
|
||||
@@ -54,7 +54,9 @@ class _Appdata {
|
||||
if (settingsFile.existsSync()) {
|
||||
var json = jsonDecode(await settingsFile.readAsString());
|
||||
for (var key in json.keys) {
|
||||
settings[key] = json[key];
|
||||
if(json[key] != null) {
|
||||
settings[key] = json[key];
|
||||
}
|
||||
}
|
||||
}
|
||||
if (settings["downloadPath"] == null) {
|
||||
|
Reference in New Issue
Block a user