mirror of
https://github.com/Ishan09811/pine.git
synced 2025-04-28 01:25:09 +00:00
Update SeekBarPreference.kt
This commit is contained in:
parent
f5097cbe90
commit
4e97650d56
@ -70,7 +70,7 @@ class SeekBarPreference(context: Context, attrs: AttributeSet) : DialogPreferenc
|
||||
callChangeListener(currentValue)
|
||||
}
|
||||
.setNegativeButton(android.R.string.cancel) { _, _ ->
|
||||
slider.value = valueText.text.toString().replace("%", "").toInt().toFloat()
|
||||
slider.value = summary.toString().replace("%", "").toInt().toFloat()
|
||||
}
|
||||
.show()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user