convert int values to strings
This commit is contained in:
parent
bbb9c681e6
commit
f3d19aa6f4
1 changed files with 5 additions and 4 deletions
|
@ -93,6 +93,7 @@ public class DanaRUserOptionsActivity extends Activity {
|
||||||
boolean isKorean = MainApp.getSpecificPlugin(DanaRKoreanPlugin.class) != null && MainApp.getSpecificPlugin(DanaRKoreanPlugin.class).isEnabled(PluginType.PUMP);
|
boolean isKorean = MainApp.getSpecificPlugin(DanaRKoreanPlugin.class) != null && MainApp.getSpecificPlugin(DanaRKoreanPlugin.class).isEnabled(PluginType.PUMP);
|
||||||
boolean isRS = MainApp.getSpecificPlugin(DanaRSPlugin.class) != null && MainApp.getSpecificPlugin(DanaRSPlugin.class).isEnabled(PluginType.PUMP);
|
boolean isRS = MainApp.getSpecificPlugin(DanaRSPlugin.class) != null && MainApp.getSpecificPlugin(DanaRSPlugin.class).isEnabled(PluginType.PUMP);
|
||||||
|
|
||||||
|
|
||||||
Activity activity = this;
|
Activity activity = this;
|
||||||
if (activity != null)
|
if (activity != null)
|
||||||
activity.runOnUiThread(new Runnable() {
|
activity.runOnUiThread(new Runnable() {
|
||||||
|
@ -112,10 +113,10 @@ public class DanaRUserOptionsActivity extends Activity {
|
||||||
if(pump.buttonScrollOnOff != 0) {
|
if(pump.buttonScrollOnOff != 0) {
|
||||||
buttonScroll.setChecked(true);
|
buttonScroll.setChecked(true);
|
||||||
}
|
}
|
||||||
screenTimeout.setText(pump.lcdOnTimeSec);
|
screenTimeout.setText(String.valueOf(pump.lcdOnTimeSec));
|
||||||
backlightTimeout.setText(pump.backlightOnTimeSec);
|
backlightTimeout.setText(String.valueOf(pump.backlightOnTimeSec));
|
||||||
shutdown.setText(pump.shutdownHour);
|
shutdown.setText(String.valueOf(pump.shutdownHour));
|
||||||
lowReservoir.setText(pump.lowReservoirRate);
|
lowReservoir.setText(String.valueOf(pump.lowReservoirRate));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue