mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-02 22:30:40 +00:00
Merge branch 'master' of gitlab.futo.org:videostreaming/grayjay
This commit is contained in:
commit
3c549a2495
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue