Унифицирование состояний до Connecting... и Chats

This commit is contained in:
2026-03-11 01:43:52 +05:00
parent fa003e9edb
commit dc8e179c10

View File

@@ -360,12 +360,8 @@ private struct ToolbarTitleView: View {
var body: some View {
let state = ProtocolManager.shared.connectionState
let title: String = switch state {
case .disconnected: "Connecting..."
case .connecting: "Connecting..."
case .connected: "Connected"
case .handshaking: "Authenticating..."
case .deviceVerificationRequired: "Device Verification..."
case .authenticated: "Chats"
default: "Connecting..."
}
Text(title)
.font(.system(size: 17, weight: .semibold))