mirror of
https://github.com/yattee/yattee.git
synced 2024-12-24 22:43:41 +00:00
Improve subscriptions count
Piped API now includes it in the streams response, no need for separate query
This commit is contained in:
parent
bcc1d1812e
commit
d202ff8b40
@ -229,11 +229,7 @@ final class PlayerModel: ObservableObject {
|
|||||||
self?.sponsorBlock.loadSegments(
|
self?.sponsorBlock.loadSegments(
|
||||||
videoID: video.videoID,
|
videoID: video.videoID,
|
||||||
categories: Defaults[.sponsorBlockCategories]
|
categories: Defaults[.sponsorBlockCategories]
|
||||||
) {
|
)
|
||||||
if Defaults[.showChannelSubscribers] {
|
|
||||||
self?.loadCurrentItemChannelDetails()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
guard Defaults[.enableReturnYouTubeDislike] else {
|
guard Defaults[.enableReturnYouTubeDislike] else {
|
||||||
return
|
return
|
||||||
|
@ -179,7 +179,7 @@ struct SettingsView: View {
|
|||||||
case .browsing:
|
case .browsing:
|
||||||
return 350
|
return 350
|
||||||
case .player:
|
case .player:
|
||||||
return 470
|
return 450
|
||||||
case .history:
|
case .history:
|
||||||
return 480
|
return 480
|
||||||
case .sponsorBlock:
|
case .sponsorBlock:
|
||||||
|
Loading…
Reference in New Issue
Block a user