From 7794a6522ae84bf1f1f543aae333e527d9dfe3a0 Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Mon, 1 Jul 2024 18:14:14 -0700 Subject: Some UI work for Accounts and a bug fix when deleting account that isn't yet persisted. --- Hotline/macOS/MessageBoardView.swift | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Hotline/macOS/MessageBoardView.swift') diff --git a/Hotline/macOS/MessageBoardView.swift b/Hotline/macOS/MessageBoardView.swift index ba9968b..f870b0c 100644 --- a/Hotline/macOS/MessageBoardView.swift +++ b/Hotline/macOS/MessageBoardView.swift @@ -40,16 +40,14 @@ struct MessageBoardView: View { .background(Color(nsColor: .textBackgroundColor)) } else { - VStack { + ZStack(alignment: .center) { Text("No Message Board") - .bold() + .font(.title) + .multilineTextAlignment(.center) .foregroundStyle(.secondary) - .font(.title3) - Text("This server has the message board turned off.") - .foregroundStyle(.tertiary) - .font(.system(size: 13)) + .padding() } - .padding() + .frame(maxWidth: .infinity) } } .sheet(isPresented: $composerDisplayed) { -- cgit