mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 20:02:27 +00:00
Adopting new KeePassKit APi. Codestyle
This commit is contained in:
@@ -439,7 +439,7 @@ typedef void (^MPPasswordChangedBlock)(BOOL didChangePassword);
|
||||
return; // We are displaying the entries already
|
||||
}
|
||||
if(contentView.subviews.count == 1) {
|
||||
[contentView.subviews[0] removeFromSuperviewWithoutNeedingDisplay];
|
||||
[contentView.subviews.firstObject removeFromSuperviewWithoutNeedingDisplay];
|
||||
}
|
||||
[contentView addSubview:self.splitView];
|
||||
NSView *outlineView = self.outlineViewController.view;
|
||||
@@ -565,8 +565,8 @@ typedef void (^MPPasswordChangedBlock)(BOOL didChangePassword);
|
||||
#pragma mark UI Helper
|
||||
|
||||
- (BOOL)_isInspectorVisible {
|
||||
NSView *inspectorView = [self.inspectorViewController view];
|
||||
return (nil != [inspectorView superview]);
|
||||
NSView *inspectorView = self.inspectorViewController.view;
|
||||
return (nil != inspectorView.superview);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user