Initial timeline design tweaks (#505)

This commit is contained in:
Doug
2023-01-31 13:27:35 +00:00
committed by GitHub
parent d51a9b3a2b
commit 17568a6a2e
31 changed files with 271 additions and 204 deletions
@@ -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")
}