Skip to content

Commit d8897f9

Browse files
committed
WEB: Wasm Build 06 Use No-strip-wasm and turn of Hive logging
1 parent e0dbec8 commit d8897f9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/deploy_playground_netlify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
- name: "Themes playground START BUILD - Flutter clean before build"
4646
run: flutter clean && cd example && flutter clean
4747
- name: "Themes playground WEB WASM-GC release build"
48-
run: cd example && flutter build web --wasm --release -t lib/example5_themes_playground/main.dart
49-
#run: cd example && flutter build web --wasm --release --no-strip-wasm -t lib/example5_themes_playground/main.dart
48+
#run: cd example && flutter build web --wasm --release -t lib/example5_themes_playground/main.dart
49+
run: cd example && flutter build web --wasm --release --no-strip-wasm -t lib/example5_themes_playground/main.dart
5050
- name: Deploy to Netlify
5151
uses: nwtgck/[email protected]
5252
with:

example/lib/shared/const/app.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ sealed class App {
4747
static const String versionMajor = '8';
4848
static const String versionMinor = '0';
4949
static const String versionPatch = '1';
50-
static const String versionBuild = '05';
50+
static const String versionBuild = '06';
5151
static const String versionFull = '$versionMajor.$versionMinor.$versionPatch'
5252
'\nBuild-$versionBuild';
5353
static const String version = '$versionMajor.$versionMinor.$versionPatch';

example/lib/shared/services/theme_service_hive.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import 'theme_service_hive_adapters.dart';
1010
// The handy part is that if it gets in the way in debugging, it is an easy
1111
// toggle to turn it off here too. Often I just leave them true if it is one
1212
// I want to see in dev mode, unless it is too chatty.
13-
const bool _debug = !kReleaseMode || true;
13+
const bool _debug = !kReleaseMode && false;
1414

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

0 commit comments

Comments
 (0)