Skip to content

Commit 81307cd

Browse files
committed
Some fixes
1 parent 41487dc commit 81307cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/common/models.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ class Metrics implements BodyMetrics {
110110
}
111111

112112
Map<String, dynamic> toJson() => {
113+
'd': date.toIso8601String().split('T').first,
113114
'b': bmi,
114115
'w': weightInKg,
115116
'f': fatInPercentage,

todo.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* Let cache contain null.
1+
* Let cache contain null to prevent fetching dates that does not exists
22
* Be able to ignore cache
33
* Implement Kofi
44
* Implement Ads
@@ -9,6 +9,5 @@
99
* Make Android auth go through backend
1010
* Create release pipeline for APK and bundle
1111
* Release app on Google Play
12-
* Caching to reduce calls?
1312
* Wide page design
1413
* Look into Hive as a no-sql database

0 commit comments

Comments
 (0)