mirror of
https://github.com/ev-map/EVMap.git
synced 2026-04-20 22:28:21 -04:00
fix crash on first start
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user