mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
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
|
@ToolbarContentBuilder
|
||||||
private var toolbar: some ToolbarContent {
|
private var toolbar: some ToolbarContent {
|
||||||
ToolbarItem(placement: .cancellationAction) {
|
ToolbarItem(placement: .primaryAction) {
|
||||||
ToolbarButton(role: .cancel) {
|
ToolbarButton(role: .close) {
|
||||||
context.send(viewAction: .cancel)
|
context.send(viewAction: .cancel)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:5b54f25f2260800a34f4869fbe8771d5443b18de4de6c1250498aaab259808ae
|
oid sha256:1041d59efcac45da3a17e59629a51f59a2fcc9116b9868c7fe776d7d08736e2e
|
||||||
size 160972
|
size 161018
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:5b54f25f2260800a34f4869fbe8771d5443b18de4de6c1250498aaab259808ae
|
oid sha256:1041d59efcac45da3a17e59629a51f59a2fcc9116b9868c7fe776d7d08736e2e
|
||||||
size 160972
|
size 161018
|
||||||
|
|||||||
Reference in New Issue
Block a user