styling changes of buttons

This commit is contained in:
zadam
2022-12-11 13:20:37 +01:00
parent 1f468f81cc
commit c231b3cb79
18 changed files with 52 additions and 26 deletions

View File

@@ -5,6 +5,8 @@ export default class ProtectedSessionStatusWidget extends CommandButtonWidget {
constructor() {
super();
this.class("launcher-button");
this.settings.icon = () => protectedSessionHolder.isProtectedSessionAvailable()
? "bx-check-shield"
: "bx-shield-quarter";