diff --git a/Cartfile b/Cartfile index fae0c2e0..7c7f9ce0 100644 --- a/Cartfile +++ b/Cartfile @@ -1,3 +1,3 @@ github "sparkle-project/Sparkle" ~> 1.17.0 -github "mstarke/KeePassKit" "19073179a3f4d0dad79d4ac67e39f3dec4f2f6fe" +github "mstarke/KeePassKit" "5f8377c760eeab1b366ac590dd7a7a65821e61dd" github "mstarke/HNHUi" ~> 1.1 diff --git a/Cartfile.resolved b/Cartfile.resolved index 2b949443..90613cb4 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,3 +1,3 @@ github "mstarke/HNHUi" "1.1" -github "mstarke/KeePassKit" "19073179a3f4d0dad79d4ac67e39f3dec4f2f6fe" +github "mstarke/KeePassKit" "5f8377c760eeab1b366ac590dd7a7a65821e61dd" github "sparkle-project/Sparkle" "1.17.0" diff --git a/MacPass/EntryView.xib b/MacPass/EntryView.xib index 67570ee9..215df408 100644 --- a/MacPass/EntryView.xib +++ b/MacPass/EntryView.xib @@ -1,8 +1,8 @@ - + - + @@ -48,7 +48,7 @@ - + @@ -82,7 +82,7 @@ - + @@ -93,8 +93,8 @@ - - + + @@ -134,7 +134,7 @@ - + @@ -171,7 +171,7 @@ - + @@ -208,7 +208,7 @@ - + diff --git a/MacPass/MPDocumentWindowController.m b/MacPass/MPDocumentWindowController.m index b3f1c6d1..8b509ce3 100644 --- a/MacPass/MPDocumentWindowController.m +++ b/MacPass/MPDocumentWindowController.m @@ -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 diff --git a/MacPass/MPPluginDataViewController.m b/MacPass/MPPluginDataViewController.m index 161b3cc7..1e2ebb4d 100644 --- a/MacPass/MPPluginDataViewController.m +++ b/MacPass/MPPluginDataViewController.m @@ -53,7 +53,7 @@ NSInteger tag = ((NSButton *)sender).tag; if(tag >= 0 && tag < [self.pluginDataController.arrangedObjects count]) { id keyValueStore = ((NSArray *)self.pluginDataController.arrangedObjects)[tag]; - [self.representedNode removeCustomDataValueForKey:[keyValueStore key]]; + [self.representedNode removeCustomDataForKey:[keyValueStore key]]; } } diff --git a/MacPass/MPTableView.m b/MacPass/MPTableView.m index 7f8f98d1..1a899d19 100644 --- a/MacPass/MPTableView.m +++ b/MacPass/MPTableView.m @@ -37,7 +37,7 @@ We need to clear the outer areas as calling super will not do that for us */ - [[self backgroundColor] set]; + [self.backgroundColor set]; NSRectFill(clipRect); [super drawBackgroundInClipRect:clipRect]; }