fix(app): deprecated inline property

Inline property cannot have a backing field. This will become an error in Kotlin 2.1.

Signed-off-by: rhunk <101876869+rhunk@users.noreply.github.com>
This commit is contained in:
rhunk 2024-06-03 01:11:05 +02:00
parent e9bbf365ac
commit d1283b0ef7

View File

@ -4,7 +4,7 @@ import androidx.compose.runtime.MutableState
class ObservableMutableState<T>(
defaultValue: T,
inline val onChange: (T, T) -> Unit = { _, _ -> },
val onChange: (T, T) -> Unit = { _, _ -> },
) : MutableState<T> {
private var mutableValue: T = defaultValue
override var value: T