feat: Implement automatic regex interpretation for custom button collapse condition

This commit is contained in:
loner
2025-10-23 00:35:37 +08:00
parent beefae7350
commit 272bb50770
3 changed files with 29 additions and 5 deletions
@@ -116,7 +116,7 @@ ColumnLayout {
visible: valueTextStream
label: I18n.tr("bar.widget-settings.custom-button.collapse-condition.label")
description: I18n.tr("bar.widget-settings.custom-button.collapse-condition.description")
placeholderText: I18n.tr("placeholders.enter-text")
placeholderText: I18n.tr("placeholders.enter-text-to-collapse")
text: widgetData?.textCollapse || widgetMetadata.textCollapse
}