mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 14:16:59 +02:00
Improvement - View controller: Remove properties initialization from 'viewDidLoad'.
see https://github.com/matrix-org/matrix-ios-kit/issues/94
This commit is contained in:
@@ -79,15 +79,20 @@
|
||||
self.navigationItem.title = NSLocalizedStringFromTable(@"title_recents", @"Vector", nil);
|
||||
}
|
||||
|
||||
- (void)viewDidLoad
|
||||
- (void)finalizeInit
|
||||
{
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view, typically from a nib.
|
||||
[super finalizeInit];
|
||||
|
||||
// Setup `MXKViewControllerHandling` properties
|
||||
self.defaultBarTintColor = kVectorNavBarTintColor;
|
||||
self.enableBarTintColorStatusChange = NO;
|
||||
self.rageShakeManager = [RageShakeManager sharedManager];
|
||||
}
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view, typically from a nib.
|
||||
|
||||
// Register here the customized cell view class used to render recents
|
||||
[self.recentsTableView registerNib:RecentTableViewCell.nib forCellReuseIdentifier:RecentTableViewCell.defaultReuseIdentifier];
|
||||
|
||||
Reference in New Issue
Block a user