From 5305a92e3d481b6293dc5204a30da2d0c6b80508 Mon Sep 17 00:00:00 2001 From: Volodymyr Chekyrta <127732735+volodymyr-chekyrta@users.noreply.github.com> Date: Thu, 9 May 2024 15:55:46 +0300 Subject: [PATCH] fix: discovery enabled by default (#433) --- Core/Core/Configuration/Config/DiscoveryConfig.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Core/Configuration/Config/DiscoveryConfig.swift b/Core/Core/Configuration/Config/DiscoveryConfig.swift index 884800441..893ea0ca9 100644 --- a/Core/Core/Configuration/Config/DiscoveryConfig.swift +++ b/Core/Core/Configuration/Config/DiscoveryConfig.swift @@ -40,7 +40,7 @@ public class DiscoveryConfig: NSObject { init(dictionary: [String: AnyObject]) { type = (dictionary[DiscoveryKeys.discoveryType] as? String).flatMap { DiscoveryConfigType(rawValue: $0) - } ?? .none + } ?? .native webview = DiscoveryWebviewConfig(dictionary: dictionary[DiscoveryKeys.webview] as? [String: AnyObject] ?? [:]) }