mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 23:18:27 +02:00
MESSENGER-5938 changes from review
This commit is contained in:
@@ -306,8 +306,6 @@ SSOAuthenticationPresenterDelegate>
|
||||
// New email address to bind
|
||||
UITextField* newEmailTextField;
|
||||
|
||||
// bwi: #5938 activate lab
|
||||
int countActivateLabs;
|
||||
|
||||
// New phone number to bind
|
||||
TableViewCellWithPhoneNumberTextField * newPhoneNumberCell;
|
||||
@@ -2762,6 +2760,7 @@ SSOAuthenticationPresenterDelegate>
|
||||
if (!versionCell.gestureRecognizers.count)
|
||||
{
|
||||
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(onElementVersionTap)];
|
||||
[tap setNumberOfTapsRequired:7];
|
||||
[versionCell addGestureRecognizer:tap];
|
||||
}
|
||||
|
||||
@@ -4586,11 +4585,6 @@ SSOAuthenticationPresenterDelegate>
|
||||
{
|
||||
if (!BWIBuildSettings.shared.settingsScreenShowLabSettings)
|
||||
{
|
||||
if (!countActivateLabs) {
|
||||
countActivateLabs = 0;
|
||||
}
|
||||
if (countActivateLabs >= 6)
|
||||
{
|
||||
BWIBuildSettings.shared.settingsScreenShowLabSettings = true;
|
||||
[self updateSections];
|
||||
|
||||
@@ -4607,11 +4601,6 @@ SSOAuthenticationPresenterDelegate>
|
||||
|
||||
[self presentViewController:successAlert animated:YES completion:nil];
|
||||
currentAlert = successAlert;
|
||||
}
|
||||
else
|
||||
{
|
||||
countActivateLabs += 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user