forked from upstream-mirrors/quik
cleanup
This commit is contained in:
@@ -40,10 +40,8 @@ class PreferenceView @JvmOverloads constructor(
|
|||||||
|
|
||||||
val titleView: TextView get() = layout.titleView
|
val titleView: TextView get() = layout.titleView
|
||||||
|
|
||||||
/** Returns the widget view inflated into the widget frame, if any */
|
|
||||||
val widget: View? get() = layout.widgetFrame.getChildAt(0)
|
val widget: View? get() = layout.widgetFrame.getChildAt(0)
|
||||||
|
|
||||||
/** Returns the checkbox widget if this preference has one */
|
|
||||||
val checkbox: QkSwitch? get() = widget as? QkSwitch
|
val checkbox: QkSwitch? get() = widget as? QkSwitch
|
||||||
|
|
||||||
var title: String? = null
|
var title: String? = null
|
||||||
|
|||||||
Reference in New Issue
Block a user