forked from firka/student-legacy
fix network bug
This commit is contained in:
parent
f7efd65f5e
commit
b6a8696911
@ -47,7 +47,7 @@ class App extends StatelessWidget {
|
||||
|
||||
WidgetsBinding.instance?.addPostFrameCallback((_) {
|
||||
FilcAPI.getConfig(settings).then((Config? config) {
|
||||
settings.update(context, database: database, config: config ?? Config.fromJson({}));
|
||||
if (config != null) settings.update(context, database: database, config: config);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user