We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac081d9 + 78ee65f commit 645bec6Copy full SHA for 645bec6
Modules/Sources/PageNavigationFeature/PageNavigationView.swift
@@ -84,13 +84,15 @@ public struct PageNavigation: View {
84
store.page = String(min(Int(store.page.filter(\.isNumber))!, store.totalPages))
85
}
86
.toolbar {
87
- ToolbarItemGroup(placement: .keyboard) {
88
- Spacer()
89
-
90
- Button {
91
- store.send(.doneButtonTapped)
92
- } label: {
93
- Text("Done", bundle: .module)
+ if focus == .page {
+ ToolbarItemGroup(placement: .keyboard) {
+ Spacer()
+
+ Button {
+ store.send(.doneButtonTapped)
+ } label: {
94
+ Text("Done", bundle: .module)
95
+ }
96
97
98
0 commit comments