diff --git a/atox/src/main/kotlin/ui/chat/ChatFragment.kt b/atox/src/main/kotlin/ui/chat/ChatFragment.kt index 6647bb5ce..6310740ce 100644 --- a/atox/src/main/kotlin/ui/chat/ChatFragment.kt +++ b/atox/src/main/kotlin/ui/chat/ChatFragment.kt @@ -490,7 +490,7 @@ class ChatFragment : BaseFragment(FragmentChatBinding::infl } } - fun checkRecordPermission(): Boolean = + private fun checkRecordPermission(): Boolean = ContextCompat.checkSelfPermission( requireContext(), permission.RECORD_AUDIO @@ -510,7 +510,7 @@ class ChatFragment : BaseFragment(FragmentChatBinding::infl } } - fun startTimer() = binding.run { + private fun startTimer() = binding.run { timer.apply { visibility = View.VISIBLE text = context.getString(R.string.default_timer) @@ -521,7 +521,7 @@ class ChatFragment : BaseFragment(FragmentChatBinding::infl } } - fun stopTimer() = binding.run { + private fun stopTimer() = binding.run { timer.apply { visibility = View.GONE text = context.getString(R.string.default_timer)