Skip to content

Commit 6d47473

Browse files
authored
default to 1 if no value provided (#1208)
1 parent be158e3 commit 6d47473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/duckduckgo/app/global/view/FireDialog.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class FireDialog(
145145
private fun animationEnabled() = settingsDataStore.fireAnimationEnabled && animatorDurationEnabled()
146146

147147
private fun animatorDurationEnabled(): Boolean {
148-
val animatorScale = Settings.Global.getFloat(context.contentResolver, ANIMATOR_DURATION_SCALE, 0.0f)
148+
val animatorScale = Settings.Global.getFloat(context.contentResolver, ANIMATOR_DURATION_SCALE, 1.0f)
149149
return animatorScale != 0.0f
150150
}
151151

0 commit comments

Comments
 (0)