fix measurement system summary value not being updated

master
Andreas Shimokawa 2017-09-30 23:36:20 +02:00
parent 486596b1a8
commit 6f358ff722
1 changed files with 1 additions and 1 deletions

View File

@ -184,6 +184,7 @@ public class SettingsActivity extends AbstractSettingsActivity {
GBApplication.deviceService().onSendConfiguration(PREF_MEASUREMENT_SYSTEM); GBApplication.deviceService().onSendConfiguration(PREF_MEASUREMENT_SYSTEM);
} }
}); });
preference.setSummary(newVal.toString());
return true; return true;
} }
}); });
@ -294,7 +295,6 @@ public class SettingsActivity extends AbstractSettingsActivity {
@Override @Override
protected String[] getPreferenceKeysWithSummary() { protected String[] getPreferenceKeysWithSummary() {
return new String[]{ return new String[]{
"measurement_system",
"pebble_emu_addr", "pebble_emu_addr",
"pebble_emu_port", "pebble_emu_port",
"pebble_reconnect_attempts", "pebble_reconnect_attempts",