From d6e26c3395eacc41e36e9de7ce37ff1ca591367f Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Mon, 28 Aug 2023 22:10:45 -0700 Subject: [PATCH] Make smol --- Meshtastic/Views/Messages/Contacts.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Meshtastic/Views/Messages/Contacts.swift b/Meshtastic/Views/Messages/Contacts.swift index e6788ccb..b8d9ffd8 100644 --- a/Meshtastic/Views/Messages/Contacts.swift +++ b/Meshtastic/Views/Messages/Contacts.swift @@ -46,7 +46,7 @@ struct Contacts: View { ZStack { Image(systemName: "circle.fill") - .opacity(true ? 1 : 0) + .opacity(channel.allPrivateMessages.count > 0 ? 1 : 0) .font(.system(size: 10)) .foregroundColor(.accentColor) } @@ -101,7 +101,7 @@ struct Contacts: View { } } } - .frame(maxWidth: .infinity, maxHeight: 80, alignment: .leading) + .frame(height: 62) .contextMenu { Button { channel.mute = !channel.mute @@ -206,7 +206,7 @@ struct Contacts: View { } } } - .frame(height: 90) + .frame(height: 62) .contextMenu { Button { user.mute = !user.mute