Skip to content

Commit 737e835

Browse files
committed
Update
1 parent b4d213f commit 737e835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/tool/tree/SplashActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import kotlinx.coroutines.withContext
2626
import java.io.BufferedReader
2727
import java.io.DataOutputStream
2828
import java.io.File
29+
import android.view.animation.AnimationUtils
2930

3031
class SplashActivity : AppCompatActivity() {
3132

@@ -62,9 +63,8 @@ class SplashActivity : AppCompatActivity() {
6263
showAgreementDialog()
6364
}
6465

65-
val imageView = findViewById<ImageView>(R.id.start_logo_xml)
6666
val rotateAnim = AnimationUtils.loadAnimation(this, R.anim.ic_settings_rotate)
67-
imageView.startAnimation(rotateAnim)
67+
binding.startLogoXml.startAnimation(rotateAnim)
6868

6969
applyTheme()
7070
}

0 commit comments

Comments
 (0)