Skip to content

Commit

Permalink
chore: 3.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Arenukvern committed Feb 12, 2024
1 parent 1f9b13b commit 0b5eb8e
Show file tree
Hide file tree
Showing 5 changed files with 73,760 additions and 72,514 deletions.
2 changes: 1 addition & 1 deletion release/web/.last_build_id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a8529108414d4f34e1601f6149154460
4f9167bcf034aecdc2c209229c743b6d
8 changes: 4 additions & 4 deletions release/web/flutter_service_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ const MANIFEST = 'flutter-app-manifest';
const TEMP = 'flutter-temp-cache';
const CACHE_NAME = 'flutter-app-cache';

const RESOURCES = {"version.json": "71f13957d4a8d4f07e45c412e16a2412",
"index.html": "e140e94fdc752ba6043ee65aeaeeceae",
"/": "e140e94fdc752ba6043ee65aeaeeceae",
const RESOURCES = {"version.json": "0be4f9666043510893eab356c8577162",
"index.html": "89f4ea2dd936f20b05487d2ab4855525",
"/": "89f4ea2dd936f20b05487d2ab4855525",
"styles.css": "497f12b5497194cb6c80ac7d75c62305",
"main.dart.js": "34ce0a2d047996048ceba47e414425b9",
"main.dart.js": "24ca6794c3d4240cec9fdf69c67fee6a",
"flutter.js": "7d69e653079438abfbb24b82a655b0a4",
"favicon.png": "479d556fb2eb36f25a63441f0e18ab75",
"icons/icon-16.png": "16e424e171d2abe7aaa2a68f2c66740c",
Expand Down
15 changes: 9 additions & 6 deletions release/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<link rel="stylesheet" type="text/css" href="./styles.css" />
<script>
// The value below is injected by flutter build, do not touch.
const serviceWorkerVersion = "2426763403";
const serviceWorkerVersion = "28972331";
</script>
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer></script>
Expand All @@ -46,16 +46,17 @@
<!-- Yandex Context End -->
</head>
<body>
<div id="flutter_app" style="width: 100%; height: 100%"></div>
<main class="container">
<div class="container" id="loading_container">
<div id="loading">
<img src="icons/icon-512.png" width="128" />
</div>
<span class="loader" alt="Loading indicator..."></span>
</main>
</div>
<div id="flutter_app" style="width: 100%; height: 100%"></div>
<script>
window.addEventListener("load", function (ev) {
var loading = document.querySelector("#loading");
var loadingContainer = document.querySelector("#loading_container");
var hostElement = document.querySelector("#flutter_app");
// Download main.dart.js
_flutter.loader.loadEntrypoint({
Expand All @@ -67,11 +68,13 @@
let appRunner = await engineInitializer.initializeEngine({
hostElement: hostElement,
});

console.log("appRunner");
loading.classList.add("init_done");
await appRunner.runApp();
console.log("runApp - done");
window.setTimeout(function () {
loading.remove();
console.log("removing");
loadingContainer.remove();
}, 200);
},
});
Expand Down
Loading

0 comments on commit 0b5eb8e

Please sign in to comment.