fix display

This commit is contained in:
sonora 2016-04-03 13:53:47 +02:00
parent fef54b35d3
commit 7b926d000a

View file

@ -65,7 +65,7 @@ public class SettingsMonitoringActivity extends SettingsBaseActivity {
Preference pref = new Preference(this);
pref.setTitle(R.string.save_current_track);
pref.setSummary(R.string.save_current_track_descr + ": " + OsmAndFormatter.getFormattedDistance(getMyApplication().getSavingTrackHelper().getDistance(), getMyApplication()));
pref.setSummary(getMyApplication().getString(R.string.save_current_track_descr) + ": " + OsmAndFormatter.getFormattedDistance(getMyApplication().getSavingTrackHelper().getDistance(), getMyApplication()));
pref.setOnPreferenceClickListener(new OnPreferenceClickListener() {
@Override
public boolean onPreferenceClick(Preference preference) {