mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-05-29 04:50:15 +02:00
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:
parent
e9bbf365ac
commit
d1283b0ef7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user