Add compose action icon updates for working status management. see #295
This commit is contained in:
parent
f339e2c748
commit
299fc948ce
1 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ export const taWorkingStatus = {
|
|||
this.WorkingLevel++;
|
||||
this.taLog.log("[startWorking] WorkingLevel: " + this.WorkingLevel);
|
||||
browser.messageDisplayAction.setIcon({path: "/images/icon-loading.svg"});
|
||||
browser.composeAction.setIcon({path: "/images/icon-loading.svg"});
|
||||
},
|
||||
|
||||
stopWorking(){
|
||||
|
|
@ -34,6 +35,7 @@ export const taWorkingStatus = {
|
|||
if(this.WorkingLevel<=0){
|
||||
this.WorkingLevel = 0;
|
||||
browser.messageDisplayAction.setIcon({path: "/images/icon-32px.png"});
|
||||
browser.composeAction.setIcon({path: "/images/icon-32px.png"});
|
||||
}
|
||||
}
|
||||
};
|
||||
Loading…
Reference in a new issue