Skip to content

Commit a4952e3

Browse files
committed
Fix incorrect buttonTitle in AlertContent initializer
1 parent 225dcf1 commit a4952e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/BuddyUI/AlertContent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public struct AlertContent: Equatable, Sendable {
1818
self.isPresented = isPresented
1919
self.title = Text(title)
2020
self.message = message.flatMap { Text($0) }
21-
self.buttonTitle = Text(title)
21+
self.buttonTitle = Text(buttonTitle)
2222
}
2323

2424
@_disfavoredOverload

0 commit comments

Comments
 (0)