From 45829daa856b376b1ab04d415917110b71b1dec5 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 5 Feb 2025 22:27:17 +0100 Subject: Apply formatting --- Hotline/macOS/ServerMessageView.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Hotline/macOS/ServerMessageView.swift') 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)) } } -- cgit