mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
New video details
This commit is contained in:
@@ -25,6 +25,11 @@ final class CommentsModel: ObservableObject {
|
||||
!(nextPage?.isEmpty ?? true)
|
||||
}
|
||||
|
||||
func loadIfNeeded() {
|
||||
guard !loaded else { return }
|
||||
load()
|
||||
}
|
||||
|
||||
func load(page: String? = nil) {
|
||||
guard let video = player.currentVideo else { return }
|
||||
|
||||
|
Reference in New Issue
Block a user