Skip to content

Commit

Permalink
fix crash on first start
Browse files Browse the repository at this point in the history
  • Loading branch information
johan12345 committed Nov 13, 2024
1 parent 8a2e2d9 commit 69ae13a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import android.graphics.Color
import android.os.Build
import android.os.Bundle
import android.text.method.KeyListener
import android.util.Log
import android.view.ContextThemeWrapper
import android.view.Gravity
import android.view.LayoutInflater
Expand Down Expand Up @@ -367,6 +366,7 @@ class MapFragment : Fragment(), OnMapReadyCallback, MenuProvider {

binding.appLogo.root.animate().alpha(1f)
.withEndAction {
if (_binding == null) return@withEndAction
binding.appLogo.root.animate().alpha(0f).apply {
startDelay = 1000
}.withEndAction {
Expand Down

0 comments on commit 69ae13a

Please sign in to comment.