From 8a4eecd9faaa6860cddbf3ef5937968bcda99b81 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Sun, 28 Apr 2013 00:46:08 -0400 Subject: [PATCH] Removed volume button. [REMOVED] Volume button in guide - there is no voice-over. --- .../ObjC/iOS/MPGuideViewController.h | 2 -- .../ObjC/iOS/MPGuideViewController.m | 8 -------- .../ObjC/iOS/MainStoryboard_iPhone.storyboard | 18 ------------------ 3 files changed, 28 deletions(-) diff --git a/MasterPassword/ObjC/iOS/MPGuideViewController.h b/MasterPassword/ObjC/iOS/MPGuideViewController.h index 067a59a9..1e32afac 100644 --- a/MasterPassword/ObjC/iOS/MPGuideViewController.h +++ b/MasterPassword/ObjC/iOS/MPGuideViewController.h @@ -23,12 +23,10 @@ @property(weak, nonatomic) IBOutlet UIView *content; @property(weak, nonatomic) IBOutlet UIButton *contentButton; @property(weak, nonatomic) IBOutlet UITextField *contentText; -@property(weak, nonatomic) IBOutlet UIButton *volumeButton; @property(weak, nonatomic) IBOutlet UIButton *largePlayButton; @property(weak, nonatomic) IBOutlet UIButton *smallPlayButton; - (IBAction)play; - (IBAction)close; -- (IBAction)toggleVolume; @end diff --git a/MasterPassword/ObjC/iOS/MPGuideViewController.m b/MasterPassword/ObjC/iOS/MPGuideViewController.m index 0ecd431e..eeccb476 100644 --- a/MasterPassword/ObjC/iOS/MPGuideViewController.m +++ b/MasterPassword/ObjC/iOS/MPGuideViewController.m @@ -106,14 +106,6 @@ [self.presentingViewController dismissViewControllerAnimated:YES completion:nil]; } -- (IBAction)toggleVolume { - - if ((self.muted = !self.muted)) - [self.volumeButton setImage:[UIImage imageNamed:@"icon_volume-mute"] forState:UIControlStateNormal]; - else - [self.volumeButton setImage:[UIImage imageNamed:@"icon_volume-high"] forState:UIControlStateNormal]; -} - - (void)tick:(NSTimer *)timer { self.lastTick = self.currentTick; diff --git a/MasterPassword/ObjC/iOS/MainStoryboard_iPhone.storyboard b/MasterPassword/ObjC/iOS/MainStoryboard_iPhone.storyboard index 0d8fc19b..cdfd911a 100644 --- a/MasterPassword/ObjC/iOS/MainStoryboard_iPhone.storyboard +++ b/MasterPassword/ObjC/iOS/MainStoryboard_iPhone.storyboard @@ -2589,22 +2589,6 @@ You can make passwords for anything, like email addresses, sites or real-world t - @@ -2727,7 +2711,6 @@ You can make passwords for anything, like email addresses, sites or real-world t - @@ -2815,7 +2798,6 @@ However, it means that anyone who finds your device unlocked can do the same. -