mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-18 06:37:47 +01:00
VESC: fixed crash on loading saved integer
This commit is contained in:
parent
9e8b7373fa
commit
93fc2c3b61
@ -72,8 +72,8 @@ public class VescControlActivity extends AbstractGBActivity {
|
||||
}
|
||||
|
||||
private void restoreValues(){
|
||||
rpmEditText.setText(preferences.getInt(PREFS_KEY_LAST_RPM, 0));
|
||||
breakCurrentEditText.setText(preferences.getInt(PREFS_KEY_LAST_BREAK_CURRENT, 0));
|
||||
rpmEditText.setText(String.valueOf(preferences.getInt(PREFS_KEY_LAST_RPM, 0)));
|
||||
breakCurrentEditText.setText(String.valueOf(preferences.getInt(PREFS_KEY_LAST_BREAK_CURRENT, 0)));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user