Skip to content

Commit

Permalink
Merge branch 'master' of gitlab.futo.org:videostreaming/grayjay
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelvin-FUTO committed Sep 6, 2024
2 parents e529a3d + 5475778 commit 918b2bb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1298,12 +1298,12 @@ class VideoDetailView : ConstraintLayout {
setTabIndex(0, true)
} else {
if (Settings.instance.comments.recommendationsDefault) {
setTabIndex(2)
setTabIndex(2, true)
} else {
when(Settings.instance.comments.defaultCommentSection) {
0 -> if(Settings.instance.other.polycentricEnabled) setTabIndex(0) else setTabIndex(1);
1 -> setTabIndex(1);
2 -> setTabIndex(StateMeta.instance.getLastCommentSection())
0 -> if(Settings.instance.other.polycentricEnabled) setTabIndex(0, true) else setTabIndex(1, true);
1 -> setTabIndex(1, true);
2 -> setTabIndex(StateMeta.instance.getLastCommentSection(), true)
}
}
}
Expand Down

0 comments on commit 918b2bb

Please sign in to comment.