From 7887b58cc6aef4b4134964b3fec350f2459734cf Mon Sep 17 00:00:00 2001 From: Andy Lin Date: Sun, 25 Jun 2023 23:14:47 -0400 Subject: [PATCH] adjusted bar style --- Sources/SwiftUI Apple Watch Decimal Pad/DigetPadView.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/SwiftUI Apple Watch Decimal Pad/DigetPadView.swift b/Sources/SwiftUI Apple Watch Decimal Pad/DigetPadView.swift index e3d2193..a5a40b1 100644 --- a/Sources/SwiftUI Apple Watch Decimal Pad/DigetPadView.swift +++ b/Sources/SwiftUI Apple Watch Decimal Pad/DigetPadView.swift @@ -92,8 +92,10 @@ public struct EnteredText: View { } .toolbar(content: { ToolbarItem(placement: .cancellationAction){ - Button("Done"){ + Button { presentedAsModal.toggle() + } label: { + Label("Done", systemImage: "xmark") } } })