mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-29 03:31: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)
|
}.padding(.horizontal)
|
||||||
}
|
}
|
||||||
|
.toolbar {
|
||||||
|
ToolbarItem(placement: .navigationBarLeading) {
|
||||||
|
Button("action.cancel", action: { isCustomEmojisSheetDisplay = false })
|
||||||
|
}
|
||||||
|
}
|
||||||
.scrollContentBackground(.hidden)
|
.scrollContentBackground(.hidden)
|
||||||
.background(theme.primaryBackgroundColor)
|
.background(theme.primaryBackgroundColor)
|
||||||
.navigationTitle("status.editor.emojis.navigation-title")
|
.navigationTitle("status.editor.emojis.navigation-title")
|
||||||
|
|
Loading…
Reference in a new issue