Skip to content

Commit

Permalink
make things private
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlinden committed Jun 8, 2021
1 parent c28d586 commit b1ee2eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions atox/src/main/kotlin/ui/chat/ChatFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ class ChatFragment : BaseFragment<FragmentChatBinding>(FragmentChatBinding::infl
}
}

fun checkRecordPermission(): Boolean =
private fun checkRecordPermission(): Boolean =
ContextCompat.checkSelfPermission(
requireContext(),
permission.RECORD_AUDIO
Expand All @@ -510,7 +510,7 @@ class ChatFragment : BaseFragment<FragmentChatBinding>(FragmentChatBinding::infl
}
}

fun startTimer() = binding.run {
private fun startTimer() = binding.run {
timer.apply {
visibility = View.VISIBLE
text = context.getString(R.string.default_timer)
Expand All @@ -521,7 +521,7 @@ class ChatFragment : BaseFragment<FragmentChatBinding>(FragmentChatBinding::infl
}
}

fun stopTimer() = binding.run {
private fun stopTimer() = binding.run {
timer.apply {
visibility = View.GONE
text = context.getString(R.string.default_timer)
Expand Down

0 comments on commit b1ee2eb

Please sign in to comment.