From 5475778d67b1054ca0a5106d5731e3b99b082dc7 Mon Sep 17 00:00:00 2001 From: Koen J Date: Fri, 6 Sep 2024 18:24:52 +0200 Subject: [PATCH] Force reload. --- .../fragment/mainactivity/main/VideoDetailView.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt b/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt index 9b8d2192..95780403 100644 --- a/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt +++ b/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt @@ -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) } } }