fix channel number did not disappear

This commit is contained in:
Li ZongYing
2024-02-03 23:30:37 +08:00
parent 917b245bbe
commit 44ab3a6669
7 changed files with 98 additions and 24 deletions
@@ -48,6 +48,13 @@ class ChannelFragment : Fragment() {
}
}
override fun onResume() {
super.onResume()
if (view?.visibility == View.VISIBLE) {
handler.postDelayed(hideRunnable, delay)
}
}
override fun onPause() {
super.onPause()
handler.removeCallbacks(hideRunnable)