From d86fdf1fa52ee83713de7ca855459c4c81c44cf2 Mon Sep 17 00:00:00 2001 From: onevcat Date: Sat, 18 Jul 2026 09:51:51 +0900 Subject: [PATCH] fix: replace deprecated Text concatenation --- supacode/Features/Settings/Views/WorktreeSettingsView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supacode/Features/Settings/Views/WorktreeSettingsView.swift b/supacode/Features/Settings/Views/WorktreeSettingsView.swift index 9be36815..d442ba61 100644 --- a/supacode/Features/Settings/Views/WorktreeSettingsView.swift +++ b/supacode/Features/Settings/Views/WorktreeSettingsView.swift @@ -72,8 +72,8 @@ struct WorktreeSettingsView: View { case .archive: Text("Archives worktrees when their pull requests are merged.") case .delete: - Text("Deletes worktrees when their pull requests are merged. ") - + Text("Uncommitted changes will be lost.").foregroundStyle(.red) + let uncommittedChangesWarning = Text("Uncommitted changes will be lost.").foregroundStyle(.red) + Text("Deletes worktrees when their pull requests are merged. \(uncommittedChangesWarning)") case nil: EmptyView() } -- 2.51.2