Only show experience upgrades when the app becomes active
This commit is contained in:
parent
72e5c3bfea
commit
bdfc5ee5da
@ -756,7 +756,7 @@ NSString *const kArchiveButtonPseudoGroup = @"kArchiveButtonPseudoGroup";
|
||||
{
|
||||
[super viewDidAppear:animated];
|
||||
|
||||
if (![ExperienceUpgradeManager presentNextFromViewController:self]) {
|
||||
if (!self.hasEverAppeared && ![ExperienceUpgradeManager presentNextFromViewController:self]) {
|
||||
[OWSActionSheets showIOSUpgradeNagIfNecessary];
|
||||
}
|
||||
|
||||
@ -1183,6 +1183,10 @@ NSString *const kArchiveButtonPseudoGroup = @"kArchiveButtonPseudoGroup";
|
||||
- (void)applicationDidBecomeActive:(NSNotification *)notification
|
||||
{
|
||||
[self updateShouldObserveDBModifications];
|
||||
|
||||
if (![ExperienceUpgradeManager presentNextFromViewController:self]) {
|
||||
[OWSActionSheets showIOSUpgradeNagIfNecessary];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)applicationWillResignActive:(NSNotification *)notification
|
||||
|
||||
Loading…
Reference in New Issue
Block a user