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
@@ -18,6 +18,8 @@
#import "VectorDesignValues.h"
#import "RageShakeManager.h"
@interface SegmentedViewController ()
{
// list of displayed UIViewControllers
@@ -117,6 +119,11 @@
- (void)viewDidLoad
{
[super viewDidLoad];
// Setup `MXKViewControllerHandling` properties
self.defaultBarTintColor = kVectorNavBarTintColor;
self.enableBarTintColorStatusChange = NO;
self.rageShakeManager = [RageShakeManager sharedManager];
// Check whether the view controller has been pushed via storyboard
if (!self.viewControllerContainer)