mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
improve ui
This commit is contained in:
@@ -51,9 +51,9 @@ class _Appdata {
|
||||
return;
|
||||
}
|
||||
var json = jsonDecode(await file.readAsString());
|
||||
for(var key in json['settings'].keys) {
|
||||
if(json[key] != null) {
|
||||
settings[key] = json[key];
|
||||
for(var key in (json['settings'] as Map<String, dynamic>).keys) {
|
||||
if(json['settings'][key] != null) {
|
||||
settings[key] = json['settings'][key];
|
||||
}
|
||||
}
|
||||
searchHistory = List.from(json['searchHistory']);
|
||||
|
Reference in New Issue
Block a user