Add cancel button to lock preference.
This commit is contained in:
parent
3b129176d6
commit
957c50088d
@ -57,6 +57,7 @@ class LockPreference @JvmOverloads constructor(context: Context, attrs: Attribut
|
|||||||
updateSummary()
|
updateSummary()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
.negativeText("Cancel")
|
||||||
.autoDismiss(true)
|
.autoDismiss(true)
|
||||||
.cancelable(true)
|
.cancelable(true)
|
||||||
.canceledOnTouchOutside(true)
|
.canceledOnTouchOutside(true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user