We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8dc3ef commit 1e25c8dCopy full SHA for 1e25c8d
app/src/main/java/com/firstbuild/androidapp/Paragon/QuickStartFragment.java
@@ -255,12 +255,12 @@ private void makeTempText(int temp) {
255
256
257
private void makeTempMaxText(int hour, int min) {
258
- textTimeMax.setText(hour + ":" + min);
+ textTimeMax.setText(String.format("%d:%02d", hour, min));
259
}
260
261
262
private void makeTempMinText(int hour, int min) {
263
- textTimeMin.setText(hour + ":" + min);
+ textTimeMin.setText(String.format("%d:%02d", hour, min));
264
265
266
0 commit comments