From b517cb7cc324087f4d0f289c3fe4ba373d5af38e Mon Sep 17 00:00:00 2001 From: jack Date: Wed, 2 Jul 2025 21:21:04 +0200 Subject: [PATCH] Clarify peer dropdown UI elements order - Added comments to clarify the order: dot, text, chevron - Notification dot works on both macOS and iOS - Elements are properly ordered left to right --- bitchat/Views/ContentView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitchat/Views/ContentView.swift b/bitchat/Views/ContentView.swift index a909b428..2ef40688 100644 --- a/bitchat/Views/ContentView.swift +++ b/bitchat/Views/ContentView.swift @@ -175,7 +175,7 @@ struct ContentView: View { } } label: { HStack(spacing: 4) { - // Notification indicator for unread messages + // Notification indicator for unread messages (on the left) if !viewModel.unreadPrivateMessages.isEmpty { Circle() .fill(Color.orange) @@ -187,7 +187,7 @@ struct ContentView: View { .font(.system(size: 14, design: .monospaced)) .foregroundColor(viewModel.isConnected ? textColor : Color.red) - // Chevron + // Chevron (on the right) Image(systemName: "chevron.down") .font(.system(size: 10)) .foregroundColor(secondaryTextColor)