We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d5cddf9 + d4e57c2 commit 5cd6fd3Copy full SHA for 5cd6fd3
NextcloudTalk/NCUserInterfaceController.m
@@ -122,8 +122,11 @@ - (void)presentLoggedOutInvalidCredentialsAlert
122
UIAlertAction* okButton = [UIAlertAction
123
actionWithTitle:NSLocalizedString(@"OK", nil)
124
style:UIAlertActionStyleDefault
125
- handler:nil];
126
-
+ handler:^(UIAlertAction * _Nonnull action) {
+ // Check the app state here, as this alert may have blocked the login view from being presented (if no other accounts are configured)
127
+ [[NCConnectionController sharedInstance] checkAppState];
128
+ }];
129
+
130
[alert addAction:okButton];
131
132
[_mainViewController presentViewController:alert animated:YES completion:nil];
0 commit comments