web initial loading animation

This commit is contained in:
MohammadTaha Basiri 2022-02-05 18:55:36 +03:30
parent 17eded85fe
commit bfc4d99d8e
3 changed files with 2 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

View File

@ -122,6 +122,7 @@ flutter:
- lib/assets/images/empty_states/studio-dark.svg - lib/assets/images/empty_states/studio-dark.svg
- lib/assets/animations/indicator-light.riv - lib/assets/animations/indicator-light.riv
- lib/assets/animations/indicator-dark.riv - lib/assets/animations/indicator-dark.riv
- lib/assets/loading.gif

View File

@ -116,7 +116,7 @@
} }
window.onload = function () { window.onload = function () {
setTimeout(function () { setTimeout(function () {
var loadingIndicator = document.getElementById("loading_indicator"); var loadingIndicator = document.getElementById("loading_indicator");
if (loadingIndicator) { if (loadingIndicator) {
loadingIndicator.remove(); loadingIndicator.remove();
} }