Add autoloading default profiles with default password (removed from bindings) #729

Merged
dan merged 1 commits from addAutoloadDef into trunk 2023-09-24 17:49:46 +00:00
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
2023-09-19-17-02-v0.0.8
2023-09-24-09-56-v0.0.8-1-gb80db89

View File

@ -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":