0
0
mirror of https://github.com/Ishan09811/pine.git synced 2025-04-28 09:35:08 +00:00
This commit is contained in:
Ishan09811 2025-01-04 17:11:12 +05:30 committed by GitHub
parent 305ac2d13a
commit f5097cbe90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,6 +71,7 @@ class SeekBarPreference(context: Context, attrs: AttributeSet) : DialogPreferenc
} }
.setNegativeButton(android.R.string.cancel) { _, _ -> .setNegativeButton(android.R.string.cancel) { _, _ ->
slider.value = valueText.text.toString().replace("%", "").toInt().toFloat() slider.value = valueText.text.toString().replace("%", "").toInt().toFloat()
}
.show() .show()
} }