removes force unwrap

this causes a crash on dev builds.
This commit is contained in:
Stuart Breckenridge 2020-11-03 13:04:31 +08:00
parent 3928d0a025
commit e12bd28ff4
1 changed files with 1 additions and 1 deletions

View File

@ -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