diff --git a/atox/src/main/kotlin/ui/chat/ChatFragment.kt b/atox/src/main/kotlin/ui/chat/ChatFragment.kt index 79cfb8047..1bf806707 100644 --- a/atox/src/main/kotlin/ui/chat/ChatFragment.kt +++ b/atox/src/main/kotlin/ui/chat/ChatFragment.kt @@ -454,7 +454,7 @@ class ChatFragment : BaseFragment(FragmentChatBinding::infl } } - fun checkRecordPermission(): Boolean = + private fun checkRecordPermission(): Boolean = ContextCompat.checkSelfPermission( requireContext(), permission.RECORD_AUDIO @@ -474,7 +474,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) @@ -485,7 +485,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)