Merge branch 'master' of gitlab.futo.org:videostreaming/grayjay

This commit is contained in:
Kelvin 2024-09-06 18:46:33 +02:00
commit 3c549a2495

View file

@ -1298,12 +1298,12 @@ class VideoDetailView : ConstraintLayout {
setTabIndex(0, true) setTabIndex(0, true)
} else { } else {
if (Settings.instance.comments.recommendationsDefault) { if (Settings.instance.comments.recommendationsDefault) {
setTabIndex(2) setTabIndex(2, true)
} else { } else {
when(Settings.instance.comments.defaultCommentSection) { when(Settings.instance.comments.defaultCommentSection) {
0 -> if(Settings.instance.other.polycentricEnabled) setTabIndex(0) else setTabIndex(1); 0 -> if(Settings.instance.other.polycentricEnabled) setTabIndex(0, true) else setTabIndex(1, true);
1 -> setTabIndex(1); 1 -> setTabIndex(1, true);
2 -> setTabIndex(StateMeta.instance.getLastCommentSection()) 2 -> setTabIndex(StateMeta.instance.getLastCommentSection(), true)
} }
} }
} }