mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +00:00
Change channel close button
This commit is contained in:
parent
5c038b2aa7
commit
653cca07fe
@ -81,12 +81,14 @@ struct ChannelVideosView: View {
|
|||||||
|
|
||||||
#if !os(tvOS)
|
#if !os(tvOS)
|
||||||
.toolbar {
|
.toolbar {
|
||||||
ToolbarItem(placement: .navigation) {
|
ToolbarItem(placement: .cancellationAction) {
|
||||||
if navigationStyle == .tab {
|
if navigationStyle == .tab {
|
||||||
Button("Done") {
|
Button {
|
||||||
withAnimation(Constants.overlayAnimation) {
|
withAnimation(Constants.overlayAnimation) {
|
||||||
navigation.presentingChannel = false
|
navigation.presentingChannel = false
|
||||||
}
|
}
|
||||||
|
} label: {
|
||||||
|
Label("Close", systemImage: "xmark")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user