From 4bb91f1c1445e682dbcefa241de666703c8f2f9b Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Sun, 23 Jan 2022 21:57:42 +0100 Subject: [PATCH] Update to flutter 2.8 --- .github/workflows/android-release.yml | 2 +- .github/workflows/ci.yml | 2 +- README.md | 2 +- pubspec.lock | 10 +++++----- pubspec.yaml | 2 +- test/workout/gym_mode_screen_test.dart | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index c60a60d8..31ec69bc 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -25,7 +25,7 @@ jobs: uses: subosito/flutter-action@v1 with: channel: 'stable' - flutter-version: '2.5.x' + flutter-version: '2.8.x' - name: Decrypt config files run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ac22461..be204261 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: uses: subosito/flutter-action@v1 with: channel: 'stable' - flutter-version: '2.5.x' + flutter-version: '2.8.x' - run: dart --version - run: flutter --version diff --git a/README.md b/README.md index 22cd4ea7..14b24ddd 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Alternatively, you can use one of our test servers, just ask us for access. Install Flutter, all its dependencies and create a new virtual device: . -The app currently uses flutter 2.5 +The app currently uses flutter 2.8 ### 3 Create a new file ``wger.properties`` in ``android/fastlane/envfiles``: diff --git a/pubspec.lock b/pubspec.lock index cba41a19..a9ef2970 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -133,7 +133,7 @@ packages: name: change url: "https://pub.dartlang.org" source: hosted - version: "0.3.0" + version: "0.3.1" characters: dependency: transitive description: @@ -189,7 +189,7 @@ packages: name: cider url: "https://pub.dartlang.org" source: hosted - version: "0.1.0" + version: "0.1.1" cli_util: dependency: transitive description: @@ -559,7 +559,7 @@ packages: name: marker url: "https://pub.dartlang.org" source: hosted - version: "0.2.2" + version: "0.2.3" matcher: dependency: transitive description: @@ -1103,7 +1103,7 @@ packages: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "2.3.6" + version: "2.3.8" xdg_directories: dependency: transitive description: @@ -1126,5 +1126,5 @@ packages: source: hosted version: "3.1.0" sdks: - dart: ">=2.14.0 <3.0.0" + dart: ">=2.15.1 <3.0.0" flutter: ">=2.5.0" diff --git a/pubspec.yaml b/pubspec.yaml index 0d5c195e..a265ffef 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -65,7 +65,7 @@ dev_dependencies: mockito: ^5.0.15 network_image_mock: ^2.0.1 flutter_lints: ^1.0.4 - cider: ^0.1.0 + cider: ^0.1.1 flutter_icons: android: true diff --git a/test/workout/gym_mode_screen_test.dart b/test/workout/gym_mode_screen_test.dart index 95e5a3dc..f13092e4 100644 --- a/test/workout/gym_mode_screen_test.dart +++ b/test/workout/gym_mode_screen_test.dart @@ -133,7 +133,7 @@ void main() { // // Pause // - expect(find.text('0:00'), findsOneWidget); + expect(find.text('0:01'), findsOneWidget); expect(find.byType(TimerWidget), findsOneWidget); expect(find.byIcon(Icons.close), findsOneWidget); expect(find.byIcon(Icons.menu), findsOneWidget); @@ -154,7 +154,7 @@ void main() { // // Pause // - expect(find.text('0:00'), findsOneWidget); + expect(find.text('0:01'), findsOneWidget); expect(find.byType(TimerWidget), findsOneWidget); expect(find.byIcon(Icons.chevron_left), findsOneWidget); expect(find.byIcon(Icons.close), findsOneWidget);