fix channel number did not disappear

This commit is contained in:
Li ZongYing
2024-02-05 06:12:01 +08:00
parent 1714633cb7
commit 4fb27ba502
11 changed files with 135 additions and 99 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)