mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-04 15:35:27 +00:00
bd00ae8ede
Exported old update card to special xml include where binding takes care of everything that had to be done in code beforehand. Added several easing functions and enums. Backported some classes and functions from the old fork Expect major breakage. Literally nothing works as the functionality needs to be implemented
8 lines
148 B
Kotlin
8 lines
148 B
Kotlin
package com.topjohnwu.magisk.utils
|
|
|
|
import com.skoumal.teanity.util.KObservableField
|
|
|
|
|
|
fun KObservableField<Boolean>.toggle() {
|
|
value = !value
|
|
} |