aboutsummaryrefslogtreecommitdiff
path: root/Hotline/macOS/Chat/ChatView.swift
diff options
context:
space:
mode:
authorDustin Mierau <dustin@mierau.me>2025-10-28 09:33:19 -0700
committerDustin Mierau <dustin@mierau.me>2025-10-28 09:33:19 -0700
commitd23d0ad9405c1622569415e6ce16d3768af2936a (patch)
tree13b1f3ba43367d9b53383c1d5e90eb8959d158e1 /Hotline/macOS/Chat/ChatView.swift
parentd8a10c38a3c26a187d8f310eba56d4e9ca8c5b27 (diff)
New default banner artwork. Theme toolbar to server's banner (if any).
Diffstat (limited to 'Hotline/macOS/Chat/ChatView.swift')
-rw-r--r--Hotline/macOS/Chat/ChatView.swift3
1 files changed, 2 insertions, 1 deletions
diff --git a/Hotline/macOS/Chat/ChatView.swift b/Hotline/macOS/Chat/ChatView.swift
index 65087c6..0795856 100644
--- a/Hotline/macOS/Chat/ChatView.swift
+++ b/Hotline/macOS/Chat/ChatView.swift
@@ -192,8 +192,9 @@ struct ChatView: View {
model.markPublicChatAsRead()
}
.onAppear {
- reader.scrollTo(bottomID, anchor: .bottom)
self.focusedField = .chatInput
+ model.markPublicChatAsRead()
+ reader.scrollTo(bottomID, anchor: .bottom)
}
.onChange(of: self.model.bannerImage) {
reader.scrollTo(bottomID, anchor: .bottom)