aboutsummaryrefslogtreecommitdiff
path: root/Hotline/iOS
diff options
context:
space:
mode:
Diffstat (limited to 'Hotline/iOS')
-rw-r--r--Hotline/iOS/ChatView.swift16
1 files changed, 16 insertions, 0 deletions
diff --git a/Hotline/iOS/ChatView.swift b/Hotline/iOS/ChatView.swift
index dadd5e6..0ad41e0 100644
--- a/Hotline/iOS/ChatView.swift
+++ b/Hotline/iOS/ChatView.swift
@@ -63,6 +63,22 @@ struct ChatView: View {
}
.padding()
}
+ else if msg.type == .signOut {
+ HStack {
+ Spacer()
+ Label {
+ Text(msg.text)
+ .font(.footnote)
+ } icon: {
+ Image(systemName: "arrow.up.circle.fill")
+ }
+ .labelStyle(.titleAndIcon)
+ .foregroundStyle(Color.red)
+ .opacity(0.8)
+ Spacer()
+ }
+ .padding(.vertical, 6)
+ }
else {
HStack(alignment: .firstTextBaseline) {
if let username = msg.username {