mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 21:26:57 +02:00
Auth screen: Hide forgot password button
Hide this button until the option is handled correctly
This commit is contained in:
@@ -127,13 +127,15 @@
|
||||
{
|
||||
self.authType = MXKAuthenticationTypeRegister;
|
||||
self.rightBarButtonItem.title = NSLocalizedStringFromTable(@"auth_login", @"Vector", nil);
|
||||
self.forgotPasswordButton.hidden = YES;
|
||||
// FIXME handle "Forgot password"
|
||||
// self.forgotPasswordButton.hidden = YES;
|
||||
}
|
||||
else
|
||||
{
|
||||
self.authType = MXKAuthenticationTypeLogin;
|
||||
self.rightBarButtonItem.title = NSLocalizedStringFromTable(@"auth_register", @"Vector", nil);
|
||||
self.forgotPasswordButton.hidden = NO;
|
||||
// FIXME handle "Forgot password"
|
||||
// self.forgotPasswordButton.hidden = NO;
|
||||
}
|
||||
|
||||
[self hideServerOptionsContainer:YES];
|
||||
|
||||
Reference in New Issue
Block a user