pub fn current_value_string(entry: &EditableSetting) -> StringExpand description
What: Read the current value for entry from Settings::settings(),
returning the canonical string the popup should pre-populate.
Inputs:
entry: Schema row to look up.
Output:
- On-disk-equivalent string. For unsupported keys (Phase 2/3 entries), returns an empty string so the popup falls back to free-form text.
Details:
- Reads from a fresh
crate::theme::settingssnapshot to avoid divergence between in-memory state and external edits. - Best-effort: Phase 1 surfaces a small set of well-known keys; other schema rows render as empty until later phases.