Skip to content

Commit

Permalink
feat(android): migrate LottieSplashScreen to Androix
Browse files Browse the repository at this point in the history
  • Loading branch information
timbru31 committed Apr 23, 2019
1 parent 2b8507b commit cfec4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/LottieSplashScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class LottieSplashScreen : CordovaPlugin() {
val useHardwareAcceleration = remote
?: preferences.getBoolean("LottieEnableHardwareAcceleration", false)
if (useHardwareAcceleration) {
animationView.useHardwareAcceleration(true)
animationView.setRenderMode(RenderMode.Hardware)
}

val remoteEnabled = remote ?: preferences.getBoolean("LottieRemoteEnabled", false)
Expand Down

0 comments on commit cfec4ed

Please sign in to comment.