Replace the Cancel button with a Close button on the Space Filters screen. (#5408)
* Updated placement and type of button Moved the "X"/Close button from the left to the right, and made it a primary action. * Update snapshots. --------- Co-authored-by: Doug <douglase@element.io>
This commit is contained in:
@@ -35,8 +35,8 @@ struct ChatsSpaceFiltersScreen: View {
|
||||
|
||||
@ToolbarContentBuilder
|
||||
private var toolbar: some ToolbarContent {
|
||||
ToolbarItem(placement: .cancellationAction) {
|
||||
ToolbarButton(role: .cancel) {
|
||||
ToolbarItem(placement: .primaryAction) {
|
||||
ToolbarButton(role: .close) {
|
||||
context.send(viewAction: .cancel)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b54f25f2260800a34f4869fbe8771d5443b18de4de6c1250498aaab259808ae
|
||||
size 160972
|
||||
oid sha256:1041d59efcac45da3a17e59629a51f59a2fcc9116b9868c7fe776d7d08736e2e
|
||||
size 161018
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b54f25f2260800a34f4869fbe8771d5443b18de4de6c1250498aaab259808ae
|
||||
size 160972
|
||||
oid sha256:1041d59efcac45da3a17e59629a51f59a2fcc9116b9868c7fe776d7d08736e2e
|
||||
size 161018
|
||||
|
||||
Reference in New Issue
Block a user