mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Add a “last app completed launch” version.
// FREEBIE
This commit is contained in:
parent
cf3101226b
commit
f9fcbad1aa
|
@ -197,7 +197,7 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
|
||||||
[[UIStoryboard storyboardWithName:@"Launch Screen" bundle:nil] instantiateInitialViewController];
|
[[UIStoryboard storyboardWithName:@"Launch Screen" bundle:nil] instantiateInitialViewController];
|
||||||
|
|
||||||
BOOL shouldShowUpgradeLabel = NO;
|
BOOL shouldShowUpgradeLabel = NO;
|
||||||
NSString *previousVersion = AppVersion.instance.lastAppVersion;
|
NSString *previousVersion = AppVersion.instance.lastCompletedLaunchAppVersion;
|
||||||
// We added a number of database views in v2.13.0.
|
// We added a number of database views in v2.13.0.
|
||||||
if ([VersionMigrations isVersion:previousVersion atLeast:@"2.0.0" andLessThan:@"2.13.0"]) {
|
if ([VersionMigrations isVersion:previousVersion atLeast:@"2.0.0" andLessThan:@"2.13.0"]) {
|
||||||
shouldShowUpgradeLabel = YES;
|
shouldShowUpgradeLabel = YES;
|
||||||
|
@ -735,6 +735,8 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
|
||||||
{
|
{
|
||||||
DDLogInfo(@"databaseViewRegistrationComplete");
|
DDLogInfo(@"databaseViewRegistrationComplete");
|
||||||
|
|
||||||
|
[AppVersion.instance appLaunchDidComplete];
|
||||||
|
|
||||||
[self ensureRootViewController];
|
[self ensureRootViewController];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue