mirror of
https://github.com/Ishan09811/pine.git
synced 2025-04-29 08:25:10 +00:00
Update SeekBarPreference.kt
This commit is contained in:
parent
2140422d5b
commit
863919bf5e
@ -36,6 +36,10 @@ class SeekBarPreference(context: Context, attrs: AttributeSet) : DialogPreferenc
|
||||
}
|
||||
}
|
||||
|
||||
override fun onGetDefaultValue(a: TypedArray, index: Int): Any {
|
||||
return a.getInt(index, minValue.toInt())
|
||||
}
|
||||
|
||||
override fun onClick() { showMaterialDialog() }
|
||||
|
||||
private fun showMaterialDialog() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user