no message

This commit is contained in:
Peter
2018-09-27 21:01:30 +01:00
parent d13f8b6376
commit 606e607de4
10 changed files with 2437 additions and 2356 deletions

View File

@@ -248,7 +248,7 @@ public final class AuthorizationSequenceController: NavigationController {
guard let strongSelf = self else {
return
}
strongSelf.window?.present(standardTextAlertController(theme: alertTheme, title: strongSelf.strings.Login_TermsOfServiceDecline, text: strongSelf.strings.Login_TermsOfServiceSignupDecline, actions: [TextAlertAction(type: .defaultAction, title: strongSelf.strings.Common_Cancel, action: {
strongSelf.currentWindow?.present(standardTextAlertController(theme: alertTheme, title: strongSelf.strings.Login_TermsOfServiceDecline, text: strongSelf.strings.Login_TermsOfServiceSignupDecline, actions: [TextAlertAction(type: .defaultAction, title: strongSelf.strings.Common_Cancel, action: {
presentAlertAgainImpl?()
}), TextAlertAction(type: .genericAction, title: strongSelf.strings.Login_TermsOfServiceDecline, action: {
guard let strongSelf = self else {
@@ -271,7 +271,7 @@ public final class AuthorizationSequenceController: NavigationController {
controller?.dismissAnimated()
}
strongSelf.view.endEditing(true)
strongSelf.window?.present(controller, on: .root)
strongSelf.currentWindow?.present(controller, on: .root)
}
presentAlertAgainImpl = {
presentAlertImpl()