diff --git a/app/appearance/icons/ant/icon.js b/app/appearance/icons/ant/icon.js index 46238ab47..8558ae792 100644 --- a/app/appearance/icons/ant/icon.js +++ b/app/appearance/icons/ant/icon.js @@ -6,10 +6,6 @@ document.body.insertAdjacentHTML('afterBegin', ` - - - - diff --git a/app/appearance/icons/index.html b/app/appearance/icons/index.html index 14cb19c9a..7f06d1fbd 100644 --- a/app/appearance/icons/index.html +++ b/app/appearance/icons/index.html @@ -40,12 +40,6 @@ iconCloudOff -
- - - - iconCloudSync -
diff --git a/app/appearance/icons/material/icon.js b/app/appearance/icons/material/icon.js index e73afad1a..13809b3e2 100644 --- a/app/appearance/icons/material/icon.js +++ b/app/appearance/icons/material/icon.js @@ -9,10 +9,6 @@ document.body.insertAdjacentHTML('afterbegin', ` - - - - diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts index 8b00f8e28..ac569965c 100644 --- a/app/src/dialog/processSystem.ts +++ b/app/src/dialog/processSystem.ts @@ -351,9 +351,11 @@ export const processSync = (data?: IWebSocketData) => { } return; } + iconElement.firstElementChild.classList.remove("fn__rotate"); if (data.code === 0) { // syncing iconElement.classList.add("toolbar__item--active"); - useElement.setAttribute("xlink:href", "#iconCloudSync"); + iconElement.firstElementChild.classList.add("fn__rotate"); + useElement.setAttribute("xlink:href", "#iconRefresh"); } else if (data.code === 2) { // error iconElement.classList.remove("toolbar__item--active"); useElement.setAttribute("xlink:href", "#iconCloudError");