Skip to content

Commit 5b77161

Browse files
antazoeyclaude
andcommitted
fix(hormone-detail): drop "Auto" / "Change" prefix from arrow buttons
User feedback: the verb prefix is redundant — the arrow + next site name already conveys "this will switch to that site." Simplify both the site action sheet's auto entry and the bottom Change button to just "→ Left Glute" (or whatever's next). Fallback "Auto" / "Change" text only appears when there's no suggested site to display. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 608684b commit 5b77161

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Sources/PatchDay/Hormones/Views/HormoneDetailView.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,16 +282,15 @@ struct HormoneDetailView: View {
282282
return NSLocalizedString("Auto", comment: "Auto-pick site")
283283
}
284284
let name = suggested.name.isEmpty ? SiteStrings.NewSite : suggested.name
285-
return "\(NSLocalizedString("Auto", comment: "")) \(name)"
285+
return "\(name)"
286286
}
287287

288288
private var changeButtonText: String {
289-
let base = NSLocalizedString("Change", comment: "Apply site + date together")
290289
guard let sdk = container.sdk, let suggested = sdk.sites.suggested else {
291-
return base
290+
return NSLocalizedString("Change", comment: "Apply site + date together")
292291
}
293292
let name = suggested.name.isEmpty ? SiteStrings.NewSite : suggested.name
294-
return "\(base) \(name)"
293+
return "\(name)"
295294
}
296295

297296
private func save() {

0 commit comments

Comments
 (0)