Skip to content

Commit

Permalink
Moved Select/Clear all in multi picker to .bottomBar
Browse files Browse the repository at this point in the history
  • Loading branch information
Reed Es committed Apr 1, 2023
1 parent bef909b commit 20668ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/PresetsPickerMulti.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ import SwiftUI
.environment(\.editMode, .constant(.active))
#endif
.toolbar {
Button(action: selectAllAction) { Text("Select All") }
Button(action: clearAction) { Text("Clear All") }
ToolbarItemGroup(placement: .bottomBar) {
Button(action: selectAllAction) { Text("Select All") }
Button(action: clearAction) { Text("Clear All") }
}
}
}

Expand Down

0 comments on commit 20668ab

Please sign in to comment.