diff options
Diffstat (limited to 'android/src')
| -rw-r--r-- | android/src/main/kotlin/net/mullvad/mullvadvpn/util/LinearInterpolation.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/util/LinearInterpolation.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/util/LinearInterpolation.kt index ea0f21ad49..750780aa6a 100644 --- a/android/src/main/kotlin/net/mullvad/mullvadvpn/util/LinearInterpolation.kt +++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/util/LinearInterpolation.kt @@ -4,7 +4,7 @@ import kotlin.properties.Delegates.observable import kotlin.reflect.KProperty class LinearInterpolation { - private val observer = { property: KProperty<*>, oldValue: Float, newValue: Float -> + private val observer = { _: KProperty<*>, oldValue: Float, newValue: Float -> if (!updated && oldValue != newValue) { updated = true } |
