Compare commits

..

1 Commits

Author SHA1 Message Date
Sarah Jamie Lewis 14fa3b1a5b
Remove defunct ReconnectCwtchForeground handlers
continuous-integration/drone/pr Build is pending Details
2024-02-26 18:39:48 -08:00
2 changed files with 2 additions and 3 deletions

View File

@ -11,8 +11,6 @@ abstract class Cwtch {
// ignore: non_constant_identifier_names
Future<void> Start();
// ignore: non_constant_identifier_names
Future<void> ReconnectCwtchForeground();
Future<String> getCwtchDir();

View File

@ -58,7 +58,7 @@ class CwtchNotifier {
// EnvironmentConfig.debugLog("NewEvent $type $data");
switch (type) {
case "CwtchStarted":
if (data["Reload"] == "true" && profileCN.num > 0 ) {
if (data["Reload"] == "true" && profileCN.num > 0) {
// don't reload...
// unless we have loaded no profiles...then there isnt a risk and this
// might be a first time (e.g. new apk, existing service)
@ -66,6 +66,7 @@ class CwtchNotifier {
EnvironmentConfig.debugLog("Reloading....${data}");
flwtchState.cwtch.LoadProfiles(DefaultPassword);
}
appState.SetCwtchInit();
break;
case "CwtchStartError":