Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: flutter create --platforms=web --org com.andreped --project-name ironflow .

- name: Build web
run: flutter build web --release
run: flutter build web --release --web-renderer html

- name: Clean up build cache
run: rm -rf .dart_tool
Expand Down
3 changes: 2 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:flutter/foundation.dart' show kIsWeb;
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'components/scroll/custom_scroll_behavior.dart';
Expand All @@ -24,7 +25,7 @@ class _MyAppState extends State<MyApp> {
bool _bodyweightEnabledGlobal = true; // Default bodyweight enabled
String _aggregationMethod = 'Top3Avg'; // Default aggregation method
String _plotType = 'Line'; // Default plot type
bool _showSplash = true;
bool _showSplash = !kIsWeb;

@override
void initState() {
Expand Down
Loading