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:
@@ -37,6 +37,13 @@
|
||||
|
||||
@implementation RoomSearchViewController
|
||||
|
||||
- (void)finalizeInit
|
||||
{
|
||||
[super finalizeInit];
|
||||
|
||||
// The navigation bar tint color and the rageShake Manager are handled by super (see SegmentedViewController).
|
||||
}
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
// Set up the SegmentedVC tabs before calling [super viewDidLoad]
|
||||
@@ -56,8 +63,6 @@
|
||||
|
||||
[super viewDidLoad];
|
||||
|
||||
// The navigation bar tint color and the rageShake Manager are handled by super (see SegmentedViewController)
|
||||
|
||||
// Add the Vector background image when search bar is empty
|
||||
[self addBackgroundImageViewToView:self.view];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user