mirror of
https://github.com/yattee/yattee.git
synced 2024-12-13 05:40:32 +05:30
Minor fixes
This commit is contained in:
parent
5d7bc809cb
commit
8054c9f44a
@ -87,7 +87,7 @@ struct VideoDetails: View {
|
||||
if video.isNil ||
|
||||
!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 {
|
||||
@ -135,7 +135,7 @@ struct VideoDetails: View {
|
||||
case .comments:
|
||||
CommentsView(embedInScrollView: true)
|
||||
.onAppear {
|
||||
comments.loadIfNeeded()
|
||||
Delay.by(0.3) { comments.loadIfNeeded() }
|
||||
}
|
||||
|
||||
case .related:
|
||||
|
Loading…
Reference in New Issue
Block a user