mirror of
https://github.com/dyuri/garmin-repafield.git
synced 2025-12-16 19:24:01 +00:00
launcher icon, timer format
This commit is contained in:
parent
2a8a1e66c3
commit
b571f011e5
BIN
resources/drawables/launcher_icon.png
Executable file → Normal file
BIN
resources/drawables/launcher_icon.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 6.3 KiB |
@ -216,7 +216,11 @@ class RepaFieldView extends WatchUi.DataField {
|
||||
timerColor = Graphics.COLOR_YELLOW;
|
||||
}
|
||||
timerField.setColor(timerColor);
|
||||
timerField.setText(trh.format("%02d") + ":" + trm.format("%02d"));
|
||||
if (trh > 0) {
|
||||
timerField.setText(trh.format("%d") + ":" + trm.format("%02d"));
|
||||
} else {
|
||||
timerField.setText(trm.format("%02d"));
|
||||
}
|
||||
if (timerSecField != null) {
|
||||
timerSecField.setColor(darken(timerColor, 1.5));
|
||||
timerSecField.setText(trs.format("%02d"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user