From acf5cd00ad9bdbf604d660de45603e5b1228bfb5 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Mon, 28 Aug 2023 23:32:02 -0700 Subject: [PATCH] Smaller font for channel numbers, add a bit of brightness to unread indicator and circles for nodes and contacts --- Meshtastic/Views/Messages/Contacts.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Meshtastic/Views/Messages/Contacts.swift b/Meshtastic/Views/Messages/Contacts.swift index f5aa82ab..9a23cd74 100644 --- a/Meshtastic/Views/Messages/Contacts.swift +++ b/Meshtastic/Views/Messages/Contacts.swift @@ -52,7 +52,8 @@ struct Contacts: View { .foregroundColor(.accentColor) .brightness(0.2) } - CircleText(text: String(channel.index), color: .accentColor, circleSize: 45, fontSize: 42) + CircleText(text: String(channel.index), color: .accentColor, circleSize: 45, fontSize: 40) + .brightness(0.2) VStack(alignment: .leading){ HStack{ @@ -164,9 +165,11 @@ struct Contacts: View { .opacity(user.unreadMessages > 0 ? 1 : 0) .font(.system(size: 10)) .foregroundColor(.accentColor) + .brightness(0.2) } CircleText(text: user.shortName ?? "???", color: Color(UIColor(hex: UInt32(user.num))), circleSize: 45, fontSize: (user.shortName ?? "???").isEmoji() ? 32 : (user.shortName?.count ?? 0 == 4 ? 14 : (user.shortName?.count ?? 0 == 3 ? 18 : 22)), brightness: 0.0, textColor: UIColor(hex: UInt32(user.num)).isLight() ? .black : .white) + .brightness(0.2) VStack(alignment: .leading){ HStack{