minor tweak

This commit is contained in:
True Zhuanjia
2026-04-29 22:17:44 +08:00
parent 233a23c6c8
commit 8f12a4f598
+1 -1
View File
@@ -2102,7 +2102,7 @@ struct WidgetPickerView: View {
}
private func resolvedWidgetButtonLabel() -> String {
let trimmedManualLabel = widgetButtonLabel.trimmingCharacters(in: .whitespacesAndNewlines)
let trimmedManualLabel = widgetButtonLabel
if !trimmedManualLabel.isEmpty {
return trimmedManualLabel
}