Removed "Do not ask again" button

This commit is contained in:
paleksandrs
2022-11-07 10:38:46 +02:00
parent b04f091c22
commit 5da41a3076
3 changed files with 2 additions and 18 deletions
+1 -9
View File
@@ -903,7 +903,7 @@
- (void)presentReviewUnverifiedSessionsAlertIfNeededWithSession:(MXSession*)session
{
if (RiotSettings.shared.hideReviewSessionsAlert || self.reviewSessionAlertHasBeenDisplayed)
if (self.reviewSessionAlertHasBeenDisplayed)
{
return;
}
@@ -948,13 +948,6 @@
style:UIAlertActionStyleCancel
handler:nil]];
[alert addAction:[UIAlertAction actionWithTitle:[VectorL10n doNotAskAgain]
style:UIAlertActionStyleDestructive
handler:^(UIAlertAction * action) {
RiotSettings.shared.hideReviewSessionsAlert = YES;
}]];
[self presentViewController:alert animated:YES completion:nil];
currentAlert = alert;
@@ -975,7 +968,6 @@
{
self.reviewSessionAlertHasBeenDisplayed = NO;
RiotSettings.shared.hideVerifyThisSessionAlert = NO;
RiotSettings.shared.hideReviewSessionsAlert = NO;
}
#pragma mark - UITabBarDelegate