Removed special code for 10.12 and blow since we now target 10.13 and above

This commit is contained in:
Michael Starke
2020-07-08 22:11:34 +02:00
parent c5694293a5
commit be2b5072bf
10 changed files with 25 additions and 144 deletions

View File

@@ -209,9 +209,7 @@
- (void)toggleShowPassword {
self.showPassword = !self.showPassword;
if (@available(macOS 10.12.2, *)) {
_showPasswordButton.bezelColor = self.showPassword ? [NSColor selectedControlColor] : [NSColor controlColor];
}
self.showPasswordButton.bezelColor = self.showPassword ? [NSColor selectedControlColor] : [NSColor controlColor];
}
- (void)_didSetKeyURL:(NSNotification *)notification {