Fixes sizes

release
Laurent 3 years ago
parent 21d21f8c81
commit a71c534f27
  1. 4
      LeCountdown/Views/ContentView.swift

@ -46,7 +46,7 @@ struct ContentView<T : AbstractTimer>: View {
NavigationStack { NavigationStack {
GeometryReader { reader in GeometryReader { reader in
let width: CGFloat = reader.size.width / 2 - 10.0 let width: CGFloat = reader.size.width / 2 - 15.0
VStack { VStack {
@ -77,7 +77,7 @@ struct ContentView<T : AbstractTimer>: View {
} }
} }
} }
.navigationTitle("\(String(describing: T.self))") .navigationTitle("\(String(describing: T.self))")
.alert(boringContext.error?.localizedDescription ?? "missing error", isPresented: $boringContext.showDefaultAlert) { .alert(boringContext.error?.localizedDescription ?? "missing error", isPresented: $boringContext.showDefaultAlert) {
Button("OK", role: .cancel) { } Button("OK", role: .cancel) { }
} }

Loading…
Cancel
Save