fix: z fighting in viewpager2 potential?

This commit is contained in:
rebelonion 2024-03-17 21:21:17 -05:00
parent 385198e69a
commit 9f4cd0ba0d

View file

@ -105,9 +105,15 @@ class StatsFragment :
binding.filterContainer.visibility = View.GONE
}
override fun onPause() {
super.onPause()
binding.statisticList.visibility = View.GONE
}
override fun onResume() {
super.onResume()
if (this::binding.isInitialized) {
binding.statisticList.visibility = View.VISIBLE
binding.root.requestLayout()
if (!loadedFirstTime) {
activity.lifecycleScope.launch {