fix crash on first start

This commit is contained in:
johan12345
2024-11-24 18:13:39 +01:00
parent bfe1667a69
commit cf20dc4089

View File

@@ -341,6 +341,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