chore: cleanup pt2

This commit is contained in:
rebelonion 2024-04-19 06:13:14 -05:00
parent 24147e746a
commit 70a50ece43
52 changed files with 501 additions and 294 deletions

View file

@ -5,15 +5,15 @@ import ani.dantotsu.databinding.ItemSettingsSwitchBinding
data class Settings(
val type: Int,
val name : String,
val name: String,
val desc: String,
val icon : Int,
val icon: Int,
val onClick: ((ItemSettingsBinding) -> Unit)? = null,
val onLongClick: (() -> Unit)? = null,
val switch: ((isChecked:Boolean , view: ItemSettingsSwitchBinding ) -> Unit)? = null,
val attach:((ItemSettingsBinding) -> Unit)? = null,
val attachToSwitch : ((ItemSettingsSwitchBinding) -> Unit)? = null,
val switch: ((isChecked: Boolean, view: ItemSettingsSwitchBinding) -> Unit)? = null,
val attach: ((ItemSettingsBinding) -> Unit)? = null,
val attachToSwitch: ((ItemSettingsSwitchBinding) -> Unit)? = null,
val isVisible: Boolean = true,
val isActivity: Boolean = false,
var isChecked : Boolean = false,
var isChecked: Boolean = false,
)