diff --git a/src/js/account.js b/src/js/account.js index 9807cbc4d..5d57276a8 100644 --- a/src/js/account.js +++ b/src/js/account.js @@ -31,6 +31,7 @@ export function toggleFilterDebug() { export async function getDataAndInit() { try { + $(".pageLoading .text").text("Downloading user data..."); console.log("getting account data"); await DB.initSnapshot(); } catch (e) { @@ -133,6 +134,7 @@ export async function getDataAndInit() { } // if($(".pageAccount").hasClass('active')) update(); // if ($(".pageLogin").hasClass("active")) UI.changePage("account"); + $(".pageLoading .text").text("Applying settings..."); if (!UpdateConfig.changedBeforeDb) { //config didnt change before db loaded if (Config.localStorageConfig === null) { diff --git a/src/sass/core.scss b/src/sass/core.scss index 1f8b514f4..538a28c31 100644 --- a/src/sass/core.scss +++ b/src/sass/core.scss @@ -180,9 +180,12 @@ key { display: grid; justify-content: center; .preloader { - font-size: 2rem; + text-align: center; justify-self: center; - color: var(--main-color); + .icon { + font-size: 2rem; + color: var(--main-color); + } } } diff --git a/static/index.html b/static/index.html index 72460644e..8d14c8f8e 100644 --- a/static/index.html +++ b/static/index.html @@ -1056,7 +1056,10 @@