mirror of
https://github.com/zen-browser/desktop.git
synced 2026-07-13 04:10:28 +00:00
Revert "gh-14470: Add space and container sync (gh-14471)"
This reverts commit 647e219639.
This commit is contained in:
@@ -346,17 +346,6 @@ fn expand_pref_values(prefs: &mut [Preference]) {
|
||||
}
|
||||
pref.value = new_value.clone();
|
||||
}
|
||||
// Also change the condition if it contains placeholders
|
||||
if let Some(condition) = &pref.condition {
|
||||
let mut new_condition = condition.clone();
|
||||
for (key, value) in &env_values {
|
||||
let placeholder = format!("@{}@", key);
|
||||
if new_condition.contains(&placeholder) {
|
||||
new_condition = new_condition.replace(&placeholder, if *value { "1" } else { "0" });
|
||||
}
|
||||
pref.condition = Some(new_condition.clone());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user