issue_80: Rageshake handling

Rageshake doesn't work on the image upload screen #80

- Define the navigation bar tint color.
- Disable navigation bar tint color change according to HS status.
- Set RageShake manager.
This commit is contained in:
giomfo
2016-02-10 22:12:17 +01:00
parent e16dae4caa
commit d22417ee94
19 changed files with 99 additions and 9 deletions
@@ -20,6 +20,10 @@
#import "AppDelegate.h"
#import "VectorDesignValues.h"
#import "RageShakeManager.h"
@interface DirectoryViewController ()
{
PublicRoomsDirectoryDataSource *dataSource;
@@ -32,6 +36,11 @@
- (void)viewDidLoad
{
[super viewDidLoad];
// Setup `MXKViewControllerHandling` properties
self.defaultBarTintColor = kVectorNavBarTintColor;
self.enableBarTintColorStatusChange = NO;
self.rageShakeManager = [RageShakeManager sharedManager];
self.title = NSLocalizedStringFromTable(@"directory_title", @"Vector", nil);