A cancel button has been placed on the custom pictogram selection screen on the post screen (#1101)
Currently, the post screen has a cancel button only on the screen for selecting drafts, so we placed a cancel button for consistency and UX improvement. Related: #1073 Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
This commit is contained in:
parent
ecfc82c371
commit
ddebf87080
|
@ -261,6 +261,11 @@ struct StatusEditorAccessoryView: View {
|
|||
}
|
||||
}.padding(.horizontal)
|
||||
}
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .navigationBarLeading) {
|
||||
Button("action.cancel", action: { isCustomEmojisSheetDisplay = false })
|
||||
}
|
||||
}
|
||||
.scrollContentBackground(.hidden)
|
||||
.background(theme.primaryBackgroundColor)
|
||||
.navigationTitle("status.editor.emojis.navigation-title")
|
||||
|
|
Loading…
Reference in New Issue