Add autoloading default profiles with default password (removed from bindings)
This commit is contained in:
parent
feccc04933
commit
37e6511718
|
@ -1 +1 @@
|
|||
2023-09-19-17-02-v0.0.8
|
||||
2023-09-24-09-56-v0.0.8-1-gb80db89
|
|
@ -1,4 +1,5 @@
|
|||
import 'dart:convert';
|
||||
import 'package:cwtch/cwtch/cwtch.dart';
|
||||
import 'package:cwtch/main.dart';
|
||||
import 'package:cwtch/models/appstate.dart';
|
||||
import 'package:cwtch/models/contact.dart';
|
||||
|
@ -62,6 +63,7 @@ class CwtchNotifier {
|
|||
// EnvironmentConfig.debugLog("NewEvent $type $data");
|
||||
switch (type) {
|
||||
case "CwtchStarted":
|
||||
flwtchState.cwtch.LoadProfiles(DefaultPassword);
|
||||
appState.SetCwtchInit();
|
||||
break;
|
||||
case "CwtchStartError":
|
||||
|
|
Loading…
Reference in New Issue