fix: Load settings on startup
This commit is contained in:
parent
03b00b7d26
commit
6906832bc7
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue