mirror of
https://github.com/yattee/yattee.git
synced 2025-10-14 11:28:13 +00:00
Add share actions to video context menu
This commit is contained in:
@@ -120,11 +120,7 @@ struct ChannelVideosView: View {
|
||||
.opacity(store.item?.subscriptionsString != nil ? 1 : 0)
|
||||
}
|
||||
|
||||
ShareButton(
|
||||
contentItem: contentItem,
|
||||
presentingShareSheet: $presentingShareSheet,
|
||||
shareURL: $shareURL
|
||||
)
|
||||
ShareButton(contentItem: contentItem)
|
||||
|
||||
subscriptionToggleButton
|
||||
|
||||
@@ -135,13 +131,6 @@ struct ChannelVideosView: View {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#if os(iOS)
|
||||
.sheet(isPresented: $presentingShareSheet) {
|
||||
if let shareURL = shareURL {
|
||||
ShareSheet(activityItems: [shareURL])
|
||||
}
|
||||
}
|
||||
#endif
|
||||
.onAppear {
|
||||
resource?.loadIfNeeded()
|
||||
}
|
||||
|
Reference in New Issue
Block a user