mirror of
https://github.com/Ishan09811/pine.git
synced 2025-04-28 09:35:08 +00:00
Update SeekBarPreference.kt
This commit is contained in:
parent
43bab98944
commit
26c8a4ebf2
@ -38,7 +38,7 @@ class SeekBarPreference(context: Context, attrs: AttributeSet) : DialogPreferenc
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onGetDefaultValue(a: TypedArray, index: Int): Any {
|
override fun onGetDefaultValue(a: TypedArray, index: Int): Any {
|
||||||
return a.getInt(index, minValue.toInt())
|
return a.getInt(index, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onClick() { showMaterialDialog() }
|
override fun onClick() { showMaterialDialog() }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user