mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Initial timeline design tweaks (#505)
This commit is contained in:
@@ -50,8 +50,8 @@ struct SettingsScreen: View {
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.background(backgroundColor, ignoresSafeAreaEdges: .all)
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .navigationBarLeading) {
|
||||
closeButton
|
||||
ToolbarItem(placement: .confirmationAction) {
|
||||
doneButton
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -152,8 +152,8 @@ struct SettingsScreen: View {
|
||||
}
|
||||
}
|
||||
|
||||
private var closeButton: some View {
|
||||
Button(ElementL10n.actionCancel, action: close)
|
||||
private var doneButton: some View {
|
||||
Button(ElementL10n.done, action: close)
|
||||
.accessibilityIdentifier("closeButton")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user