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
@@ -97,6 +97,11 @@
{
[super viewDidLoad];
// Setup `MXKViewControllerHandling` properties
self.defaultBarTintColor = kVectorNavBarTintColor;
self.enableBarTintColorStatusChange = NO;
self.rageShakeManager = [RageShakeManager sharedManager];
// TODO use a color panel
// not an hard coded one.
CGFloat item = (242.0f / 255.0);
@@ -104,9 +109,6 @@
self.tableView.backgroundColor = [UIColor colorWithRed:item green:item blue:item alpha:item];
self.tableView.separatorColor = [UIColor clearColor];
// Setup `RoomSettingsViewController` properties
self.rageShakeManager = [RageShakeManager sharedManager];
[self setNavBarButtons];
}