BUGFIX-1000
This commit is contained in:
parent
8ac1aea1b7
commit
3916c4c4ee
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ public class OsmandSettings {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean setValue(SharedPreferences prefs, String val) {
|
protected boolean setValue(SharedPreferences prefs, String val) {
|
||||||
return prefs.edit().putString(getId(), val.trim()).commit();
|
return prefs.edit().putString(getId(), (val != null) ? val.trim() : val).commit();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue