Skip to content

Commit

Permalink
make things private
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlinden committed May 18, 2021
1 parent 23d3982 commit c69fd72
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 @@ -454,7 +454,7 @@ class ChatFragment : BaseFragment<FragmentChatBinding>(FragmentChatBinding::infl
}
}

fun checkRecordPermission(): Boolean =
private fun checkRecordPermission(): Boolean =
ContextCompat.checkSelfPermission(
requireContext(),
permission.RECORD_AUDIO
Expand All @@ -474,7 +474,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 @@ -485,7 +485,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 c69fd72

Please sign in to comment.