mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
[Share extension] Fix unloaded theme
This commit is contained in:
@@ -17,6 +17,13 @@
|
||||
#import "SharePresentingViewController.h"
|
||||
#import "ShareViewController.h"
|
||||
#import "ShareExtensionManager.h"
|
||||
#import "ThemeService.h"
|
||||
|
||||
#ifdef IS_SHARE_EXTENSION
|
||||
#import "RiotShareExtension-Swift.h"
|
||||
#else
|
||||
#import "Riot-Swift.h"
|
||||
#endif
|
||||
|
||||
@interface SharePresentingViewController ()
|
||||
|
||||
@@ -35,6 +42,9 @@
|
||||
sharedManager.primaryViewController = self;
|
||||
sharedManager.shareExtensionContext = self.extensionContext;
|
||||
|
||||
// Set up current theme
|
||||
ThemeService.shared.themeId = RiotSettings.shared.userInterfaceTheme;
|
||||
|
||||
[self presentShareViewController];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user