From 28d89fdbae54e552ffaa9be7b2edcf36114e3c19 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 26 Aug 2022 09:58:08 +0200 Subject: [PATCH] Change channel close button --- Shared/Views/ChannelVideosView.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Shared/Views/ChannelVideosView.swift b/Shared/Views/ChannelVideosView.swift index 46bfd6fb..7cf49290 100644 --- a/Shared/Views/ChannelVideosView.swift +++ b/Shared/Views/ChannelVideosView.swift @@ -81,12 +81,14 @@ struct ChannelVideosView: View { #if !os(tvOS) .toolbar { - ToolbarItem(placement: .navigation) { + ToolbarItem(placement: .cancellationAction) { if navigationStyle == .tab { - Button("Done") { + Button { withAnimation(Constants.overlayAnimation) { navigation.presentingChannel = false } + } label: { + Label("Close", systemImage: "xmark") } } }