Skip to content

Commit

Permalink
adjusted bar style
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Lin authored and Andy Lin committed Jun 26, 2023
1 parent 9cf20de commit 7887b58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/SwiftUI Apple Watch Decimal Pad/DigetPadView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@ public struct EnteredText: View {
}
.toolbar(content: {
ToolbarItem(placement: .cancellationAction){
Button("Done"){
Button {
presentedAsModal.toggle()
} label: {
Label("Done", systemImage: "xmark")
}
}
})
Expand Down

0 comments on commit 7887b58

Please sign in to comment.