Fix theming in ShareViewController and FallbackViewController.

This commit is contained in:
Doug
2021-06-29 13:03:57 +01:00
parent f46b1a24be
commit b28e09a83f
2 changed files with 8 additions and 0 deletions
@@ -21,6 +21,9 @@
#import "ShareDataSource.h"
#import "ShareExtensionManager.h"
#import "ThemeService.h"
#import "RiotShareExtension-Swift.h"
@interface ShareViewController ()
@@ -44,6 +47,10 @@
{
[super viewDidLoad];
self.view.tintColor = ThemeService.shared.theme.tintColor;
self.tittleLabel.textColor = ThemeService.shared.theme.textPrimaryColor;
self.masterContainerView.backgroundColor = ThemeService.shared.theme.baseColor;
self.shareExtensionManagerDidUpdateAccountDataObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kShareExtensionManagerDidUpdateAccountDataNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {
[self configureViews];