mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 20:49:26 +00:00
Added window shake on wrong password entry
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#import "MPKeyfilePathControlDelegate.h"
|
||||
|
||||
#import "HNHRoundedSecureTextField.h"
|
||||
#import "NSWindow+Shake.h"
|
||||
#import "NSError+Messages.h"
|
||||
|
||||
@interface MPPasswordInputController ()
|
||||
@@ -96,6 +97,7 @@
|
||||
keyFileURL:[self.keyPathControl URL]
|
||||
error:&error]) {
|
||||
[self _showError:error];
|
||||
[[[self view] window] shakeWindow:nil];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user