The entry points management technically falls under GUI as well
This commit is contained in:
parent
45e4a54b53
commit
6265695a5c
5 changed files with 1 additions and 1 deletions
15
scripts/GUI/entrypoints/icons.js
Normal file
15
scripts/GUI/entrypoints/icons.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
import BrowserIcon from '/scripts/GUI/extensionIcon.js';
|
||||
import Image from '/scripts/mapping/image.js';
|
||||
|
||||
class IconIndicator {
|
||||
static async enable() {
|
||||
// WIP. Make sure to determine if the product is bad / good
|
||||
BrowserIcon.set(await Image.get('default'));
|
||||
}
|
||||
|
||||
static async disable() {
|
||||
BrowserIcon.set(await Image.get('disabled'));
|
||||
}
|
||||
}
|
||||
|
||||
export {IconIndicator as default};
|
Loading…
Add table
Add a link
Reference in a new issue