浏览代码

Fixed desktop admin icon theme color loading issue

Toby Chui 3 年之前
父节点
当前提交
521fbf8768
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/desktop.system

+ 1 - 1
web/desktop.system

@@ -1242,7 +1242,7 @@
                         $(".hardware").hide();
                     }else{
                         //User is admin. Add admin icon
-                        $("#username").append(` <i style="color: #52c9ff" class="protect icon themed text"></i>`);
+                        $("#username").append(`<i style="color: #${desktopThemeColor}" class="protect icon themed text"></i>`);
                     }
                 }
             });