common: Move global configuration state modifiers back to settings

This commit is contained in:
lat9nq 2023-07-18 15:49:36 -04:00
parent b02e7eea78
commit 3211623192
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