Review changes

This commit is contained in:
Aram Sargsyan
2017-09-08 19:02:45 +04:00
parent c962a056e3
commit 0b0a4a12b8
6 changed files with 109 additions and 91 deletions
@@ -43,13 +43,6 @@
- (void)viewDidLoad
{
[super viewDidLoad];
self.shareExtensionManagerDidChangeMXSessionObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kShareExtensionManagerDidChangeMXSessionNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {
[self configureViews];
}];
[self configureViews];
}
@@ -94,7 +87,7 @@
[self resetContentView];
if ([MXKAccountManager sharedManager].activeAccounts.count)
if ([ShareExtensionManager sharedManager].userAccount)
{
self.tittleLabel.text = [NSString stringWithFormat:NSLocalizedStringFromTable(@"send_to", @"Vector", nil), @""];
[self configureSegmentedViewController];