10.14 compatibility: UI
This patch fixes next UI problem:
- search contact field still visible when open account settings
- username on welcome view is not centered vertically
- background for account settings
- on account settings add image button is not visible
Change-Id: I4a62a03a4576103839e068d3bd14269391ce05b3
diff --git a/src/views/AccountMenuItemView.mm b/src/views/AccountMenuItemView.mm
index d188b86..6825408 100644
--- a/src/views/AccountMenuItemView.mm
+++ b/src/views/AccountMenuItemView.mm
@@ -51,6 +51,9 @@
self.accountAvatar.layer.masksToBounds = YES;
[self.accountStatus setWantsLayer:YES];
[self.accountAvatar.layer setBackgroundColor:[[NSColor ringGreyLight] CGColor]];
+ if (@available(macOS 10.14, *)) {
+ self.createNewAccountImage.contentTintColor = [NSColor clearColor];
+ }
}
}