common: Move global configuration state modifiers back to settings

This commit is contained in:
lat9nq 2023-07-18 15:49:36 -04:00
parent fc4d2cbf34
commit 5c0cf58f73
5 changed files with 14 additions and 13 deletions

View file

@ -287,4 +287,14 @@ void RestoreGlobalState(bool is_powered_on) {
}
}
static bool configuring_global = true;
bool IsConfiguringGlobal() {
return configuring_global;
}
void SetConfiguringGlobal(bool is_global) {
configuring_global = is_global;
}
} // namespace Settings