diff --git a/fastlane/metadata/android/en-US/changelogs/253.txt b/fastlane/metadata/android/en-US/changelogs/253.txt new file mode 100644 index 0000000..67fbcf3 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/253.txt @@ -0,0 +1,5 @@ +- Fix test expectations for entries +- Round calories + protein in entries +- Add missing favorite column +- Test unit conversions +- Change unit conversions diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/1_en-US.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/1_en-US.png index eb38969..10500f7 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/1_en-US.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/1_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/2_en-US.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/2_en-US.png index f78abcf..060d884 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/2_en-US.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/2_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/3_en-US.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/3_en-US.png index ece2f10..c0d2c92 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/3_en-US.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/3_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/5_en-US.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/5_en-US.png index 7d87a7e..4fe4498 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/5_en-US.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/5_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/6_en-US.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/6_en-US.png index e30a0fa..b63162d 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/6_en-US.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/6_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/8_en-US.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/8_en-US.png index 44f3166..bceacc6 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/8_en-US.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/8_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/1_en-US.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/1_en-US.png index 995d16a..fb4b2ab 100644 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/1_en-US.png and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/1_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/2_en-US.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/2_en-US.png index 9f2a892..13a8d35 100644 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/2_en-US.png and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/2_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/3_en-US.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/3_en-US.png index 58a975e..6d3f4f9 100644 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/3_en-US.png and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/3_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/5_en-US.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/5_en-US.png index 44814db..d5acaa1 100644 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/5_en-US.png and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/5_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/6_en-US.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/6_en-US.png index ce31ac2..2371296 100644 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/6_en-US.png and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/6_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/8_en-US.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/8_en-US.png index f715b6a..505b4c6 100644 Binary files a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/8_en-US.png and b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/8_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/1_en-US.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/1_en-US.png index 80ca1b5..4e0ddb2 100644 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/1_en-US.png and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/1_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/2_en-US.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/2_en-US.png index a0ca8df..62b59ce 100644 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/2_en-US.png and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/2_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/3_en-US.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/3_en-US.png index f2852ab..144a776 100644 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/3_en-US.png and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/3_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/5_en-US.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/5_en-US.png index 82e65f9..fc3c401 100644 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/5_en-US.png and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/5_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/6_en-US.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/6_en-US.png index f29e74b..e821e60 100644 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/6_en-US.png and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/6_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/8_en-US.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/8_en-US.png index e3b38da..d8d2ee3 100644 Binary files a/fastlane/metadata/android/en-US/images/tenInchScreenshots/8_en-US.png and b/fastlane/metadata/android/en-US/images/tenInchScreenshots/8_en-US.png differ diff --git a/pubspec.yaml b/pubspec.yaml index 167d7f8..3486202 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: fit_book description: Track your calories - Completely offline! publish_to: none -version: 1.0.23+24 +version: 1.0.24+25 environment: sdk: '>=3.3.3 <4.0.0' dependencies: diff --git a/test/edit_entry_test.dart b/test/edit_entry_test.dart index 13d4224..37698b9 100644 --- a/test/edit_entry_test.dart +++ b/test/edit_entry_test.dart @@ -53,20 +53,20 @@ void main() async { await tester.pump(); await tester.tap(find.text('cups')); await tester.pump(); - expect(find.text('250.0'), findsOne); + var calories = findTextWidget(find.text('Calories')); + expect(calories.controller!.text, equals('250.00')); await tester.tap(find.text('Unit'), warnIfMissed: false); await tester.pump(); await tester.tap(find.text('tablespoons')); await tester.pump(); - var calories = findTextWidget(find.text('Calories')); - expect(calories.controller!.text, equals('15.0')); + expect(calories.controller!.text, equals('15.00')); await tester.tap(find.text('Unit'), warnIfMissed: false); await tester.pump(); await tester.tap(find.text('teaspoons')); await tester.pump(); - expect(calories.controller!.text, equals('5.0')); + expect(calories.controller!.text, equals('5.00')); await db.close(); });