Skip to content

Commit

Permalink
fix: remove fatalError
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannisj committed Dec 5, 2024
1 parent e4fe008 commit ddfd446
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PostHog/Autocapture/SwiftUI/View+PostHogLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@

@available(*, unavailable)
required init?(coder _: NSCoder) {
fatalError("init(coder:) has not been implemented")
self.label = nil
super.init(frame: .zero)
}

override func layoutSubviews() {
Expand Down

0 comments on commit ddfd446

Please sign in to comment.