Skip to content

Commit a8e4fdb

Browse files
committed
Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts: # lib/models/workouts/log.dart # test/gallery/gallery_screen_test.mocks.dart # test/measurements/measurement_categories_screen_test.mocks.dart # test/measurements/measurement_provider_test.mocks.dart # test/nutrition/nutritional_plan_form_test.mocks.dart # test/other/base_provider_test.mocks.dart # test/workout/workout_form_test.mocks.dart # test/workout/workout_set_form_test.mocks.dart
2 parents 84c8522 + 5aeda07 commit a8e4fdb

27 files changed

+2831
-902
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- 'pubspec.yaml'
1212
jobs:
1313
test:
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v1
1717

.github/workflows/dependabot.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# The .vscode folder contains launch configuration and tasks you configure in
1919
# VS Code which you may wish to be included in version control, so this line
2020
# is commented out by default.
21-
#.vscode/
21+
.vscode/
2222

2323
# Flutter/Dart/Pub related
2424
**/doc/api/
@@ -31,6 +31,7 @@
3131
.pub/
3232
/build/
3333

34+
3435
# Web related
3536
lib/generated_plugin_registrant.dart
3637

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"dart.lineLength": 100
2+
"dart.lineLength": 100,
3+
"diffEditor.ignoreTrimWhitespace": true,
34
}

AUTHORS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
- Marko Milosevic - <https://github.com/TaarnStar>
1414
- Karthik Reddy (Axel) - <https://github.com/AxelBlaz3>
1515
- Ogundoyin Toluwani - <https://github.com/Tolu007>
16+
- Nenza Nurfirmansyah - <https://github.com/nenzan>
17+
- Florian Schmitz - <https://github.com/floodoo>
1618

1719
## Translators
1820

@@ -51,3 +53,7 @@
5153
- Japanese
5254

5355
- Kosei TANAKA <[email protected]> (97)
56+
57+
- Bahasa Indonesia
58+
59+
- Nenza Nurfirmansyah <[email protected]> (73)

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if (localMapsPropertiesFile.exists()) {
5151
def wgerApiKey = wgerProperties.getProperty('WGER_API_KEY')
5252
if(wgerApiKey == null){
5353
wgerApiKey = ""
54-
project.logger.error('Wger Api Key not configured. Set it in `app/wger.properties` or in the environment variable `WGER_API_KEY`')
54+
project.logger.error('Wger Api Key not configured. Set it in `/fastlane/metadata/android/envfiles/wger.properties` or in the environment variable `WGER_API_KEY`')
5555
}
5656

5757
android {

android/fastlane/envfiles/wger.properties

Lines changed: 0 additions & 3 deletions
This file was deleted.

ios/Runner/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,7 @@
4141
</array>
4242
<key>UIViewControllerBasedStatusBarAppearance</key>
4343
<false/>
44+
<key>CADisableMinimumFrameDurationOnPhone</key>
45+
<true/>
4446
</dict>
4547
</plist>

lib/helpers/misc.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ extension TimeOfDayExtension on TimeOfDay {
9393
}
9494

9595
void launchURL(String url, BuildContext context) async {
96-
await canLaunch(url)
97-
? await launch(url)
96+
await canLaunchUrl(Uri.parse(url))
97+
? await launchUrl(Uri.parse(url))
9898
: ScaffoldMessenger.of(context).showSnackBar(
9999
SnackBar(content: Text('Could not open $url.')),
100100
);

0 commit comments

Comments
 (0)