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 c878a40c..7d7d5854 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 @@ -1217,7 +1217,7 @@ class VideoDetailView : ConstraintLayout { _addCommentView.setContext(video.url, ref) _player.setMetadata(video.name, video.author.name); - if (video !is TutorialFragment.TutorialVideo) { + if (video is TutorialFragment.TutorialVideo) { _toggleCommentType.setValue(false, false); } else { _toggleCommentType.setValue(!Settings.instance.other.polycentricEnabled || Settings.instance.comments.defaultCommentSection == 1, false);