diff --git a/MasterPassword/ObjC/iOS/MPSetupViewController.h b/MasterPassword/ObjC/iOS/MPSetupViewController.h
index a479229a..3748b9c5 100644
--- a/MasterPassword/ObjC/iOS/MPSetupViewController.h
+++ b/MasterPassword/ObjC/iOS/MPSetupViewController.h
@@ -21,6 +21,7 @@
@interface MPSetupViewController : UIViewController
@property(weak, nonatomic) IBOutlet UISwitch *rememberLoginSwitch;
+@property(weak, nonatomic) IBOutlet UISwitch *showPasswordsSwitch;
- (IBAction)close:(UIBarButtonItem *)sender;
diff --git a/MasterPassword/ObjC/iOS/MPSetupViewController.m b/MasterPassword/ObjC/iOS/MPSetupViewController.m
index 381b4f13..3d8e6f91 100644
--- a/MasterPassword/ObjC/iOS/MPSetupViewController.m
+++ b/MasterPassword/ObjC/iOS/MPSetupViewController.m
@@ -28,6 +28,8 @@
if (self.rememberLoginSwitch)
self.rememberLoginSwitch.on = [[MPiOSConfig get].rememberLogin boolValue];
+ if (self.showPasswordsSwitch)
+ self.showPasswordsSwitch.on = ![[MPiOSConfig get].hidePasswords boolValue];
}
- (void)viewWillDisappear:(BOOL)animated {
@@ -36,6 +38,8 @@
if (self.rememberLoginSwitch)
[MPiOSConfig get].rememberLogin = @(self.rememberLoginSwitch.on);
+ if (self.showPasswordsSwitch)
+ [MPiOSConfig get].hidePasswords = @(!self.showPasswordsSwitch.on);
}
- (IBAction)close:(UIBarButtonItem *)sender {
diff --git a/MasterPassword/ObjC/iOS/Storyboard.storyboard b/MasterPassword/ObjC/iOS/Storyboard.storyboard
index 76eba53d..2b342bfa 100644
--- a/MasterPassword/ObjC/iOS/Storyboard.storyboard
+++ b/MasterPassword/ObjC/iOS/Storyboard.storyboard
@@ -31,6 +31,7 @@
Exo2.0-Bold
Exo2.0-Bold
Exo2.0-Bold
+ Exo2.0-Bold
Exo2.0-ExtraBold
@@ -75,6 +76,7 @@
Exo2.0-Regular
Exo2.0-Regular
Exo2.0-Regular
+ Exo2.0-Regular
Exo2.0-Thin
@@ -2092,7 +2094,7 @@ eg. apple.com, rmitchell@twitter.com
-
+
@@ -2346,7 +2348,7 @@ However, it means that anyone who finds your device unlocked can do the same.
-
+
@@ -3186,6 +3188,100 @@ UPCOMING:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3205,7 +3301,7 @@ UPCOMING:
-
+