Skip to content

Commit 0e8cabe

Browse files
committed
refactor: pass env to bootstrap for web splash
- Pass current env to bootstrap - Web splash screen fix
1 parent a684f63 commit 0e8cabe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ void main() async {
2121
AppEnvironment.demo => AppConfig.demo(),
2222
};
2323

24-
final appWidget = await bootstrap(appConfig);
24+
final appWidget = await bootstrap(appConfig, currentEnvironment);
2525

2626
// Only remove the splash screen on web after the app is ready.
2727
if (kIsWeb) {

0 commit comments

Comments
 (0)