fix: Load settings on startup

This commit is contained in:
Sorunome 2021-01-19 16:58:30 +01:00
parent 3dc415a558
commit b097b04335

View file

@ -273,7 +273,11 @@ class MatrixState extends State<Matrix> {
void initState() {
super.initState();
initMatrix();
if (PlatformInfos.isWeb) initConfig().then((_) => initSettings());
if (PlatformInfos.isWeb) {
initConfig().then((_) => initSettings());
} else {
initSettings();
}
}
Future<void> initConfig() async {