diff --git a/app/src/main/kotlin/org/cosmicide/fragment/EditorFragment.kt b/app/src/main/kotlin/org/cosmicide/fragment/EditorFragment.kt index 18b1fb062..504158558 100644 --- a/app/src/main/kotlin/org/cosmicide/fragment/EditorFragment.kt +++ b/app/src/main/kotlin/org/cosmicide/fragment/EditorFragment.kt @@ -145,7 +145,7 @@ class EditorFragment : BaseBindingFragment() { } }) - TabLayoutMediator(binding.tabLayout, binding.pager) { tab, position -> + TabLayoutMediator(binding.tabLayout, binding.pager, true, false) { tab, position -> tab.text = fileViewModel.files.value!![position].name tab.view.setOnLongClickListener { Log.d("EditorFragment", "onLongClick: $position")