Skip to content

Commit e43d064

Browse files
remove unused helpers
1 parent dc8e9b3 commit e43d064

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

Sources/ComponentsKit/Components/Alert/SUAlert.swift

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -85,47 +85,6 @@ struct AlertContent: View {
8585
}
8686
}
8787

88-
// MARK: - Helpers
89-
90-
private struct AlertTitle: View {
91-
let text: String
92-
93-
var body: some View {
94-
Text(self.text)
95-
.font(UniversalFont.mdHeadline.font)
96-
.foregroundStyle(UniversalColor.foreground.color)
97-
.multilineTextAlignment(.center)
98-
.frame(maxWidth: .infinity)
99-
}
100-
}
101-
102-
private struct AlertMessage: View {
103-
let text: String
104-
105-
var body: some View {
106-
Text(self.text)
107-
.font(UniversalFont.mdBody.font)
108-
.foregroundStyle(UniversalColor.secondaryForeground.color)
109-
.multilineTextAlignment(.center)
110-
.frame(maxWidth: .infinity)
111-
}
112-
}
113-
114-
private struct AlertButton: View {
115-
@Binding var isAlertPresented: Bool
116-
let model: ButtonVM?
117-
let action: (() -> Void)?
118-
119-
var body: some View {
120-
if let model {
121-
SUButton(model: model) {
122-
self.action?()
123-
self.isAlertPresented = false
124-
}
125-
}
126-
}
127-
}
128-
12988
// MARK: - Presentation Helpers
13089

13190
extension View {

0 commit comments

Comments
 (0)