Skip to content

Commit 8f94294

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/main'
2 parents da02707 + 45f28c9 commit 8f94294

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ At the repository's root, there's also other relevant items:
1414
- `screenshots/`, a directory with some screenshots of the app.
1515
- `weight-scale.png`, the app icon in full sized png (as created by [Flat-icons-com]), which can be converted (check the [Espruino Image Converter]) and uploaded to the device.
1616

17-
![Heft Log icon](weight-scale.png)
17+
<img src="weight-scale.png" width="48" />
1818

1919

2020
## Usage
@@ -32,11 +32,11 @@ At the repository's root, there's also other relevant items:
3232

3333
## Screenshots
3434

35-
![1st launch screen](screnshots/0.png)
36-
![Insert height screen](screnshots/1.png)
37-
![Main menu](screnshots/2.png)
38-
![Main menu (cont.)](screnshots/3.png)
39-
![Weight screen](screnshots/4.png)
35+
![1st launch screen](screenshots/0.png)
36+
![Insert height screen](screenshots/1.png)
37+
![Main menu](screenshots/2.png)
38+
![Main menu (cont.)](screenshots/3.png)
39+
![Weight screen](screenshots/4.png)
4040
![Scrollable log](screenshots/5.png)
4141
![Weight line chart](screenshots/6.png)
4242

src/heftlog.app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ function loadGraph(L, height){
167167
.drawString(top, R.w / 2, gap / 2 + offset)
168168
.drawString(bottom, R.w / 2, R.h - (gap / 2) + offset)
169169
.setFont('6x8').setFontAlign(0, 0, 90)
170-
.drawString(formatDt(L[0].date, '/'), 4, R.h / 2 + offset)
171-
.drawString(formatDt(L[L.length-1].date, '/'), R.w - 4, R.h / 2 + offset);
170+
.drawString(formatDt(L[L.length-1].date, '/'), 4, R.h / 2 + offset)
171+
.drawString(formatDt(L[0].date, '/'), R.w - 4, R.h / 2 + offset);
172172

173173
// Enables returning with the back widget or button press
174174
Bangle.setUI({

0 commit comments

Comments
 (0)