Skip to content

Commit

Permalink
fix Any converting
Browse files Browse the repository at this point in the history
  • Loading branch information
sagishm committed Aug 1, 2023
1 parent 85497b5 commit 8769e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GigyaSwift/Global/Plugins/PluginViewWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class PluginViewWrapper<T: GigyaAccountProtocol>: PluginViewWrapperProtocol {
}

private func validateBeforeHide(params: PluginEventData, pluginViewController: inout PluginViewController<T>?, result: GigyaPluginEvent<T>) {
guard let isFlowFinalized = params["isFlowFinalized"] as? Bool else {
guard let isFlowFinalized = Bool(String(describing: params["isFlowFinalized"] ?? "false")) else {
self.completion(result)
return
}
Expand Down

0 comments on commit 8769e30

Please sign in to comment.