Compare commits

..

1 Commits

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

View File

@ -11,6 +11,8 @@ 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,7 +66,6 @@ class CwtchNotifier {
EnvironmentConfig.debugLog("Reloading....${data}");
flwtchState.cwtch.LoadProfiles(DefaultPassword);
}
appState.SetCwtchInit();
break;
case "CwtchStartError":