Browse Source

reset non parseable on parsing start

upgrade-2021-project
Stefan Haslinger 1 year ago
parent
commit
6e64831515
  1. 2
      .flutter-plugins-dependencies
  2. 3
      android/app/src/main/AndroidManifest.xml
  3. 3
      lib/models/activity.dart
  4. 1
      lib/models/strava_fit_download.dart

2
.flutter-plugins-dependencies

File diff suppressed because one or more lines are too long

3
android/app/src/main/AndroidManifest.xml

@ -20,6 +20,9 @@
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background" />
<meta-data
android:name="flutterEmbedding"
android:value="2" />

3
lib/models/activity.dart

@ -443,7 +443,8 @@ class Activity {
..sdevFormPower = null
..avgStrydCadence = null
..sdevStrydCadence = null
..sdevVerticalOscillation = null;
..sdevVerticalOscillation = null
..nonParsable = false;
await save();
final int numberOfMessages = fitFile.dataMessages.length;

1
lib/models/strava_fit_download.dart

@ -75,6 +75,7 @@ abstract class StravaFitDownload {
);
final Document document = parse(homePageResponse.data);
final String? csrfParam =
document.querySelector('meta[name="csrf-param"]')!.attributes['content'];
final String? csrfToken =

Loading…
Cancel
Save