mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-25 09:41:02 +00:00
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
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue