diff options
Diffstat (limited to 'Hotline/macOS/ServerMessageView.swift')
| -rw-r--r-- | Hotline/macOS/ServerMessageView.swift | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Hotline/macOS/ServerMessageView.swift b/Hotline/macOS/ServerMessageView.swift index 8413a87..98f4043 100644 --- a/Hotline/macOS/ServerMessageView.swift +++ b/Hotline/macOS/ServerMessageView.swift @@ -2,7 +2,7 @@ import SwiftUI struct ServerMessageView: View { let message: String - + var body: some View { HStack(alignment: .center, spacing: 8) { Image("Server Message") @@ -19,11 +19,11 @@ struct ServerMessageView: View { } .padding() .frame(maxWidth: .infinity) -#if os(iOS) - .background(Color("Agreement Background")) -#elseif os(macOS) - .background(VisualEffectView(material: .titlebar, blendingMode: .withinWindow)) -#endif + #if os(iOS) + .background(Color("Agreement Background")) + #elseif os(macOS) + .background(VisualEffectView(material: .titlebar, blendingMode: .withinWindow)) + #endif .clipShape(RoundedRectangle(cornerRadius: 8)) } } |