mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 10:35:50 +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);
|
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",
|
||||||
|
Loading…
Reference in New Issue
Block a user