show 'days' in preferences
This commit is contained in:
parent
98b40a5d19
commit
41787cbd47
@ -91,7 +91,7 @@ public class WaldemarPreferences extends PreferenceActivity {
|
|||||||
});
|
});
|
||||||
pref_duration.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
|
pref_duration.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
|
||||||
public boolean onPreferenceChange(Preference preference, Object newValue) {
|
public boolean onPreferenceChange(Preference preference, Object newValue) {
|
||||||
pref_duration.setSummary((CharSequence)newValue);
|
pref_duration.setSummary((CharSequence)newValue+" "+getApplicationContext().getString(R.string.days));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user