mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-03-11 15:58:08 +01:00
DroidFish: Fix SeekBarPreference for languages that uses decimal comma instead of decimal dot.
This commit is contained in:
parent
a47b47a8d3
commit
01fdf25b72
@ -98,7 +98,7 @@ public class SeekBarPreference extends Preference
|
||||
}
|
||||
builder.setTitle(title);
|
||||
final EditText valueView = (EditText)content.findViewById(R.id.selpercentage_number);
|
||||
valueView.setText(currValBox.getText().toString().replaceAll("%", ""));
|
||||
valueView.setText(currValBox.getText().toString().replaceAll("%", "").replaceAll(",", "."));
|
||||
final Runnable selectValue = new Runnable() {
|
||||
public void run() {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user