mirror of
https://github.com/yattee/yattee.git
synced 2025-10-13 10:58:11 +00:00
Add Periphery configuration, remove unused code
This commit is contained in:
@@ -89,18 +89,6 @@ struct ChannelVideosView: View {
|
||||
return resource
|
||||
}
|
||||
|
||||
#if !os(tvOS)
|
||||
var subscriptionToolbarItemPlacement: ToolbarItemPlacement {
|
||||
#if os(iOS)
|
||||
if horizontalSizeClass == .regular {
|
||||
return .primaryAction // swiftlint:disable:this implicit_return
|
||||
}
|
||||
#endif
|
||||
|
||||
return .automatic
|
||||
}
|
||||
#endif
|
||||
|
||||
var subscriptionToggleButton: some View {
|
||||
Group {
|
||||
if subscriptions.isSubscribing(channel.id) {
|
||||
|
Reference in New Issue
Block a user