Skip to content

Commit

Permalink
update netlify build command
Browse files Browse the repository at this point in the history
  • Loading branch information
waozixyz committed Nov 24, 2023
1 parent b8d40be commit 75d11a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion lib/screens/exercise/exercise_step1.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class _ExerciseStep1State extends State<ExerciseStep1> {
final userProvider = Provider.of<UserProvider>(context, listen: false);
final preferences = await userProvider.loadUserPreferences(['breaths', 'tempo', 'rounds', 'volume', 'sessionId', 'screenAlwaysOn']);
final sessionData = await userProvider.loadSessionData(['rounds']);
print(preferences.screenAlwaysOn);
if (isMobile() || isWeb()) {
if (preferences.screenAlwaysOn) {
Wakelock.enable();
Expand Down
13 changes: 2 additions & 11 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
[[plugins]]

package = "netlify-plugin-flutter"

[plugins.inputs]
channel = "stable"

[build]

command = "flutter build web --release"
publish = "build/web"

command = ".flutter/bin/flutter build web --release"
publish = "build/web"

0 comments on commit 75d11a3

Please sign in to comment.