MCPcopy Create free account
hub / github.com/SeaEpoch/MouseClick / isValidThemeMode

Method isValidThemeMode

src/modules/shared.cpp:67–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67bool Theme::isValidThemeMode(const int value)
68{
69 switch (value) {
70 case Theme::Light:
71 case Theme::Dark:
72 return true;
73 default:
74 return false;
75 }
76}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected