mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-22 23:30:06 +01:00
removes force unwrap
this causes a crash on dev builds.
This commit is contained in:
parent
3928d0a025
commit
e12bd28ff4
@ -14,7 +14,7 @@ struct EnableExtensionPointView: View {
|
||||
|
||||
weak var parent: NSHostingController<EnableExtensionPointView>? // required because presentationMode.dismiss() doesn't work
|
||||
weak var enabler: ExtensionPointPreferencesEnabler?
|
||||
@State private var extensionPointTypeName = String(describing: Self.feedProviderExtensionPointTypes.first!)
|
||||
@State private var extensionPointTypeName = String(describing: Self.feedProviderExtensionPointTypes.first)
|
||||
|
||||
init(enabler: ExtensionPointPreferencesEnabler?) {
|
||||
self.enabler = enabler
|
||||
|
Loading…
Reference in New Issue
Block a user