mirror of
https://github.com/robertvokac/time-calc.git
synced 2025-03-25 07:27:49 +01:00
Added new improvements
This commit is contained in:
parent
bf40a63615
commit
fbc59ca376
@ -420,7 +420,7 @@ public class TimeCalcWindow {
|
|||||||
}
|
}
|
||||||
batteryForHour.setDonePercent(1 - ((minutesRemainsD%60d)/60d));
|
batteryForHour.setDonePercent(1 - ((minutesRemainsD%60d)/60d));
|
||||||
if(done < 1 && !nowIsWeekend) {
|
if(done < 1 && !nowIsWeekend) {
|
||||||
batteryForHour.setLabel("#" + ((int)(minutesRemainsD / 60d)));
|
batteryForHour.setLabel("#" + (minuteRemains == 0 ? minuteRemains / 60 : minuteRemains/ 60 + 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
int totalSecondsRemains =
|
int totalSecondsRemains =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user