Skip to content

Commit

Permalink
Make NoticeView.init public
Browse files Browse the repository at this point in the history
  • Loading branch information
SplittyDev authored Oct 14, 2024
1 parent ea66522 commit 582a421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftDataSync/UI/NoticeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public struct NoticeView: View {
let text: LocalizedStringKey
let buttonConfiguration: (text: LocalizedStringKey, action: SimpleBlock)?

init(
public init(
kind: NoticeView.Kind,
text: LocalizedStringKey,
buttonConfiguration: (text: LocalizedStringKey, action: SimpleBlock)? = nil
Expand Down

0 comments on commit 582a421

Please sign in to comment.