Skip to content

Commit

Permalink
Merge branch 'develop' into doug/4515_fix_video_thumbnail_orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave authored Jul 6, 2021
2 parents 4921d6d + 8e35121 commit 37472cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Changes to be released in next version
🐛 Bugfix
* VoIP: Do not present ended calls.
* More fixes to Main.storyboard layout on iPhone 12 Pro Max (#4527)
* Fix crash on Apple Silicon Macs.
* Media Picker: Generate video thumbnails with the correct orientation (#4515).

⚠️ API Changes
Expand Down
5 changes: 3 additions & 2 deletions Riot/Modules/Application/LegacyAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,9 @@ - (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:
NSURL *messageSoundURL = [[NSBundle mainBundle] URLForResource:@"message" withExtension:@"caf"];
AudioServicesCreateSystemSoundID((__bridge CFURLRef)messageSoundURL, &_messageSound);

// Set app info now as Mac (Designed for iPad) accesses it before didFinishLaunching is called
self.appInfo = AppInfo.current;

MXLogDebug(@"[AppDelegate] willFinishLaunchingWithOptions: Done");

return YES;
Expand All @@ -371,8 +374,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

_configuration = [AppConfiguration new];

self.appInfo = AppInfo.current;

// Log app information
NSString *appDisplayName = self.appInfo.displayName;
NSString* appVersion = self.appVersion;
Expand Down

0 comments on commit 37472cd

Please sign in to comment.