From 87e979fb48da4a46e64544cea3e7b7d5fc32caa1 Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Tue, 14 May 2024 13:35:26 -0700 Subject: Newsgroup posting now works. Added reload button to news. More work on server and user icons. --- Hotline/macOS/ServerMessageView.swift | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Hotline/macOS/ServerMessageView.swift') diff --git a/Hotline/macOS/ServerMessageView.swift b/Hotline/macOS/ServerMessageView.swift index 742703f..8413a87 100644 --- a/Hotline/macOS/ServerMessageView.swift +++ b/Hotline/macOS/ServerMessageView.swift @@ -15,9 +15,15 @@ struct ServerMessageView: View { .lineSpacing(4) .multilineTextAlignment(.leading) .textSelection(.enabled) + Spacer() } .padding() + .frame(maxWidth: .infinity) +#if os(iOS) .background(Color("Agreement Background")) +#elseif os(macOS) + .background(VisualEffectView(material: .titlebar, blendingMode: .withinWindow)) +#endif .clipShape(RoundedRectangle(cornerRadius: 8)) } } -- cgit