Compare commits
1 Commits
c5882a2268
...
14fa3b1a5b
Author | SHA1 | Date |
---|---|---|
Sarah Jamie Lewis | 14fa3b1a5b |
|
@ -11,8 +11,6 @@ abstract class Cwtch {
|
||||||
|
|
||||||
// ignore: non_constant_identifier_names
|
// ignore: non_constant_identifier_names
|
||||||
Future<void> Start();
|
Future<void> Start();
|
||||||
// ignore: non_constant_identifier_names
|
|
||||||
Future<void> ReconnectCwtchForeground();
|
|
||||||
|
|
||||||
Future<String> getCwtchDir();
|
Future<String> getCwtchDir();
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ class CwtchNotifier {
|
||||||
// EnvironmentConfig.debugLog("NewEvent $type $data");
|
// EnvironmentConfig.debugLog("NewEvent $type $data");
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case "CwtchStarted":
|
case "CwtchStarted":
|
||||||
if (data["Reload"] == "true" && profileCN.num > 0 ) {
|
if (data["Reload"] == "true" && profileCN.num > 0) {
|
||||||
// don't reload...
|
// don't reload...
|
||||||
// unless we have loaded no profiles...then there isnt a risk and this
|
// unless we have loaded no profiles...then there isnt a risk and this
|
||||||
// might be a first time (e.g. new apk, existing service)
|
// might be a first time (e.g. new apk, existing service)
|
||||||
|
@ -66,6 +66,7 @@ class CwtchNotifier {
|
||||||
EnvironmentConfig.debugLog("Reloading....${data}");
|
EnvironmentConfig.debugLog("Reloading....${data}");
|
||||||
flwtchState.cwtch.LoadProfiles(DefaultPassword);
|
flwtchState.cwtch.LoadProfiles(DefaultPassword);
|
||||||
}
|
}
|
||||||
|
|
||||||
appState.SetCwtchInit();
|
appState.SetCwtchInit();
|
||||||
break;
|
break;
|
||||||
case "CwtchStartError":
|
case "CwtchStartError":
|
||||||
|
|
Loading…
Reference in New Issue