From c7c1df4aa9b64e123404744d0333f334573fdd1d Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 14 Aug 2024 11:18:27 +0200 Subject: [PATCH] fix(app): Add custom bootstrapping to bring back web color emojis Signed-off-by: provokateurin --- packages/app/web/flutter_bootstrap.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/app/web/flutter_bootstrap.js diff --git a/packages/app/web/flutter_bootstrap.js b/packages/app/web/flutter_bootstrap.js new file mode 100644 index 00000000000..6f8c03d44d5 --- /dev/null +++ b/packages/app/web/flutter_bootstrap.js @@ -0,0 +1,12 @@ +{{flutter_js}} +{{flutter_build_config}} + +_flutter.loader.load({ + onEntrypointLoaded: async function(engineInitializer) { + const appRunner = await engineInitializer.initializeEngine({ + useColorEmoji: true, + }); + + await appRunner.runApp(); + } +});