فهرست منبع

:art: Update statusbar message timeout

Daniel 1 سال پیش
والد
کامیت
5ede8fd1be
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      app/src/dialog/processSystem.ts

+ 3 - 2
app/src/dialog/processSystem.ts

@@ -284,6 +284,7 @@ export const progressStatus = (data: IWebSocketData) => {
     if (!statusElement) {
         return;
     }
+
     if (isMobile()) {
         if (!document.querySelector("#keyboardToolbar").classList.contains("fn__none")) {
             return;
@@ -293,7 +294,7 @@ export const progressStatus = (data: IWebSocketData) => {
         statusElement.style.bottom = "0";
         statusTimeout = window.setTimeout(() => {
             statusElement.style.bottom = "";
-        }, 5000);
+        }, 7000);
     } else {
         const msgElement = statusElement.querySelector(".status__msg");
         if (msgElement) {
@@ -301,7 +302,7 @@ export const progressStatus = (data: IWebSocketData) => {
             msgElement.innerHTML = data.msg;
             statusTimeout = window.setTimeout(() => {
                 msgElement.innerHTML = "";
-            }, 5000);
+            }, 7000);
         }
     }
 };