Improve subscriptions count

Piped API now includes it in the streams response, no need for separate
query
This commit is contained in:
Arkadiusz Fal 2022-04-16 19:50:02 +02:00
parent 31374630e8
commit 0e1192bb03
2 changed files with 2 additions and 6 deletions

View File

@ -229,11 +229,7 @@ final class PlayerModel: ObservableObject {
self?.sponsorBlock.loadSegments(
videoID: video.videoID,
categories: Defaults[.sponsorBlockCategories]
) {
if Defaults[.showChannelSubscribers] {
self?.loadCurrentItemChannelDetails()
}
}
)
guard Defaults[.enableReturnYouTubeDislike] else {
return

View File

@ -179,7 +179,7 @@ struct SettingsView: View {
case .browsing:
return 350
case .player:
return 470
return 450
case .history:
return 480
case .sponsorBlock: