MESSENGER-5938 changes from review

This commit is contained in:
JanNiklas Grabowski
2024-04-05 15:17:34 +02:00
parent f7911fb100
commit 20b3504df9

View File

@@ -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;
}
}
}