plugin: darkmode
This commit is contained in:
1 parent
2c47e6c95d
commit
c51701283f
10 files changed
+478
-3
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#include "DarkModePlugin.h"
|
||||
|
||||
namespace DarkModePlugin {
|
||||
|
||||
const char* stateName(DarkModeState state) {
|
||||
switch (state) {
|
||||
case DarkModeState::MODE_ON: return "Enabled";
|
||||
default: return "Disabled";
|
||||
}
|
||||
}
|
||||
|
||||
bool isDarkMode(DarkModeState state) {
|
||||
return state == DarkModeState::MODE_ON;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user