Skip to content

Commit

Permalink
fix: display color emoji on web
Browse files Browse the repository at this point in the history
  • Loading branch information
VytorCalixto committed Nov 15, 2024
1 parent 8eeb618 commit b7dfc67
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions web/flutter_bootstrap.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{{flutter_js}}
{{flutter_build_config}}

// Customize the app initialization process
_flutter.loader.load({
serviceWorkerSettings: {
serviceWorkerVersion: {{flutter_service_worker_version}},
},
onEntrypointLoaded: async function(engineInitializer) {
const appRunner = await engineInitializer.initializeEngine({
useColorEmoji: true
});

await appRunner.runApp();
}

});

0 comments on commit b7dfc67

Please sign in to comment.