2
0

Some fixes.

[REMOVED]   Old explanation of saveKey from settings.
[FIXED]     Status-bar display when closing the guide.
[FIXED]     Crash when opening type selection.
This commit is contained in:
Maarten Billemont 2012-06-12 07:52:18 +02:00
parent d4bcad2658
commit 50b5c87f61
5 changed files with 12 additions and 13 deletions

View File

@ -68,7 +68,7 @@
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:animated? UIStatusBarAnimationSlide: UIStatusBarAnimationNone];
if (![MPAppDelegate get].activeUser)
[self.navigationController presentViewController:[self.storyboard instantiateViewControllerWithIdentifier:@"MPUnlockViewController"]
@ -83,6 +83,8 @@
[self setHelpHidden:[[MPiOSConfig get].helpHidden boolValue] animated:animated];
[self updateAnimated:animated];
[super viewWillAppear:animated];
}
- (void)viewDidAppear:(BOOL)animated {

View File

@ -153,7 +153,10 @@
- (IBAction)settings:(UIBarButtonItem *)sender {
[self.navigationController pushViewController:[IASKAppSettingsViewController new] animated:YES];
IASKAppSettingsViewController *vc = [IASKAppSettingsViewController new];
vc.showDoneButton = NO;
[self.navigationController pushViewController:vc animated:YES];
}
@end

View File

@ -94,6 +94,8 @@
return MPElementTypeGeneratedBasic;
case 6:
return MPElementTypeGeneratedPIN;
case 7:
return NSNotFound;
default:
Throw(@"Unsupported row: %d, when selecting generated element type.", indexPath.row);
@ -109,6 +111,8 @@
return MPElementTypeStoredPersonal;
case 2:
return MPElementTypeStoredDevicePrivate;
case 3:
return NSNotFound;
default:
Throw(@"Unsupported row: %d, when selecting stored element type.", indexPath.row);

View File

@ -157,8 +157,6 @@
- (void)viewWillDisappear:(BOOL)animated {
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:animated? UIStatusBarAnimationSlide: UIStatusBarAnimationNone];
[super viewWillDisappear:animated];
}

View File

@ -70,14 +70,6 @@
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Use this to save your master password in the key chain. This is somewhat less secure should your device get stolen, but it means you won&apos;t need to enter the master password anymore. You can compensate for the reduced security by going into General-&gt;Passcode Lock, disabling &quot;Simple Passcode&quot;, and setting a more secure passcode for your device.</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>