Skip to content

Commit

Permalink
WEB: Wasm Build 06 Use No-strip-wasm and turn of Hive logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rydmike committed Nov 28, 2024
1 parent e0dbec8 commit d8897f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy_playground_netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
- name: "Themes playground START BUILD - Flutter clean before build"
run: flutter clean && cd example && flutter clean
- name: "Themes playground WEB WASM-GC release build"
run: cd example && flutter build web --wasm --release -t lib/example5_themes_playground/main.dart
#run: cd example && flutter build web --wasm --release --no-strip-wasm -t lib/example5_themes_playground/main.dart
#run: cd example && flutter build web --wasm --release -t lib/example5_themes_playground/main.dart
run: cd example && flutter build web --wasm --release --no-strip-wasm -t lib/example5_themes_playground/main.dart
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion example/lib/shared/const/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sealed class App {
static const String versionMajor = '8';
static const String versionMinor = '0';
static const String versionPatch = '1';
static const String versionBuild = '05';
static const String versionBuild = '06';
static const String versionFull = '$versionMajor.$versionMinor.$versionPatch'
'\nBuild-$versionBuild';
static const String version = '$versionMajor.$versionMinor.$versionPatch';
Expand Down
2 changes: 1 addition & 1 deletion example/lib/shared/services/theme_service_hive.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'theme_service_hive_adapters.dart';
// The handy part is that if it gets in the way in debugging, it is an easy
// toggle to turn it off here too. Often I just leave them true if it is one
// I want to see in dev mode, unless it is too chatty.
const bool _debug = !kReleaseMode || true;
const bool _debug = !kReleaseMode && false;

/// A [ThemeService] implementation that stores and retrieves theme settings
/// locally using the package Hive: https://pub.dev/packages/hive
Expand Down

1 comment on commit d8897f9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.