Fallback to String Checks

This commit is contained in:
CooperWang0912 2026-07-31 14:57:08 +08:00
parent 52cd08a0c3
commit 68830b9377
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ def _get_status_prefix(item: MenuItem) -> str:
- ! (Yellow) for unconfigured items
"""
is_special_key = '__config__' in item.key or item.key == '' + tr('Back')
is_special_key = item.text in ['' + tr('Back'), tr('Save configuration'), tr('Install'), tr('Abort')]
if item.read_only or is_special_key:
return ''