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:
parent
486596b1a8
commit
6f358ff722
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user