fix bar crashing on monitor add/remove
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
|
||||
class IconButton : public TextButton {
|
||||
public:
|
||||
IconButton(Icon::Type icon, std::string fontFamilyCss = "materia-icons");
|
||||
IconButton(Icon::Type icon, std::string fontFamilyCss = "material-icons");
|
||||
void setIcon(Icon::Type icon);
|
||||
};
|
||||
@@ -22,6 +22,10 @@ class Icon {
|
||||
CONTENT_COPY,
|
||||
|
||||
TOKEN,
|
||||
|
||||
SETTINGS,
|
||||
POWER_SETTINGS_NEW,
|
||||
BLUETOOTH_SEARCHING,
|
||||
};
|
||||
|
||||
static const std::string toString(Type type) {
|
||||
@@ -46,5 +50,9 @@ class Icon {
|
||||
{CONTENT_COPY, "\ue14d"},
|
||||
|
||||
{TOKEN, "\uea25"},
|
||||
|
||||
{SETTINGS, "\ue8b8"},
|
||||
{POWER_SETTINGS_NEW, "\ue8ac"},
|
||||
{BLUETOOTH_SEARCHING, "\ue1aa"},
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user