fix crash on first start

This commit is contained in:
johan12345
2024-11-24 18:13:39 +01:00
parent 5471ac5073
commit 752c184146

View File

@@ -370,6 +370,7 @@ class MapFragment : Fragment(), OnMapReadyCallback, MenuProvider {
binding.appLogo.root.animate().alpha(0f).apply {
startDelay = 1000
}.withEndAction {
if (_binding == null) return@withEndAction
binding.appLogo.root.visibility = View.GONE
binding.search.visibility = View.VISIBLE
binding.search.alpha = 0f