remove optional property from init
This commit is contained in:
parent
f86c6fd5d2
commit
79b894e582
@ -22,10 +22,7 @@ import Foundation
|
||||
public var showNativeNavigation: Bool?
|
||||
public var openInWebview: Bool?
|
||||
|
||||
public init(browserUrl: String, openOauthWebView: Bool?, showNativeNavigation: Bool?, openInWebview: Bool?) {
|
||||
public init(browserUrl: String) {
|
||||
self.browserUrl = browserUrl
|
||||
self.openOauthWebView = openOauthWebView ?? false
|
||||
self.showNativeNavigation = showNativeNavigation ?? false
|
||||
self.openInWebview = openInWebview ?? false
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "MVMCoreRequestParameters.h"
|
||||
|
||||
#define ENABLE_HARD_CODED_RESPONSE 0 && DEBUG
|
||||
#define ENABLE_HARD_CODED_RESPONSE 1 && DEBUG
|
||||
|
||||
#if ENABLE_HARD_CODED_RESPONSE
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user