diff --git a/Shared/Navigation/AccountViewButton.swift b/Shared/Navigation/AccountViewButton.swift index e417e5df..8d38025e 100644 --- a/Shared/Navigation/AccountViewButton.swift +++ b/Shared/Navigation/AccountViewButton.swift @@ -20,7 +20,7 @@ struct AccountViewButton: View { if let name = model.current?.app?.rawValue.capitalized { Image(name) .resizable() - .frame(width: 30, height: 30) + .frame(width: accountImageSize, height: accountImageSize) } else { Image(systemName: "globe") } @@ -36,6 +36,14 @@ struct AccountViewButton: View { } } + private var accountImageSize: Double { + #if os(macOS) + 20 + #else + 30 + #endif + } + private var label: some View { Label(model.current?.description ?? "Select Account", systemImage: "globe") }