mirror of
https://github.com/yattee/yattee.git
synced 2025-01-09 06:17:10 +00:00
Minor fixes
This commit is contained in:
parent
5d7bc809cb
commit
8054c9f44a
@ -87,7 +87,7 @@ struct VideoDetails: View {
|
|||||||
if video.isNil ||
|
if video.isNil ||
|
||||||
!VideoDetailsTool.find(for: page)!.isAvailable(for: video!, sidebarQueue: sidebarQueue)
|
!VideoDetailsTool.find(for: page)!.isAvailable(for: video!, sidebarQueue: sidebarQueue)
|
||||||
{
|
{
|
||||||
page = .info
|
page = video == nil ? .inspector : (video!.isLocal ? .inspector : .info)
|
||||||
}
|
}
|
||||||
|
|
||||||
guard video != nil, accounts.app.supportsSubscriptions else {
|
guard video != nil, accounts.app.supportsSubscriptions else {
|
||||||
@ -135,7 +135,7 @@ struct VideoDetails: View {
|
|||||||
case .comments:
|
case .comments:
|
||||||
CommentsView(embedInScrollView: true)
|
CommentsView(embedInScrollView: true)
|
||||||
.onAppear {
|
.onAppear {
|
||||||
comments.loadIfNeeded()
|
Delay.by(0.3) { comments.loadIfNeeded() }
|
||||||
}
|
}
|
||||||
|
|
||||||
case .related:
|
case .related:
|
||||||
|
Loading…
Reference in New Issue
Block a user