make setting conditional by using group

This commit is contained in:
Vincent Elger Zwanenburg
2025-07-11 17:11:44 +01:00
parent b2b8ffb332
commit 62f0e711c9
3 changed files with 15 additions and 7 deletions

View File

@ -277,6 +277,10 @@ class Settings {
//! @return The state of the toggle.
//
static function getWifiLteExecutionEnabled() as Lang.Boolean {
// Wifi/LTE sync execution on a cached menu
if (!mCacheConfig) {
return false;
}
return mWifiLteExecution;
}