1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 10:05:49 +01:00

fix measurement system summary value not being updated

This commit is contained in:
Andreas Shimokawa 2017-09-30 23:36:20 +02:00
parent 486596b1a8
commit 6f358ff722

View File

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