@@ -141,16 +141,16 @@ class BootpayDefault {
141141
142142
143143
144- public static func request( _ viewController: UIViewController , sendable: BootpayRequestProtocol ? , payload: BootpayPayload , user: BootpayUser ? = nil , items: [ BootpayItem ] ? = nil , extra: BootpayExtra ? = nil , smsPayload: SMSPayload ? = nil , remoteForm: RemoteOrderForm ? = nil , remotePre: RemoteOrderPre ? = nil , addView: Bool ? = false , _ gameObject: String = " " ) {
144+ public static func request( _ viewController: UIViewController , sendable: BootpayRequestProtocol ? , payload: BootpayPayload , user: BootpayUser ? = nil , items: [ BootpayItem ] ? = nil , extra: BootpayExtra ? = nil , smsPayload: SMSPayload ? = nil , remoteForm: RemoteOrderForm ? = nil , remotePre: RemoteOrderPre ? = nil , addView: Bool ? = false , _ gameObject: String = " " , isModalButNoFullScreen : Bool ? = false ) {
145145
146146 if ( !checkValid( payload: payload, user: user, items: items, extra: extra, smsPayload: smsPayload, remoteForm: remoteForm, remotePre: remotePre) ) { return }
147147
148148 switch payload. ux {
149149 case UX . PG_DIALOG:
150- request_dialog ( viewController, sendable: sendable, payload: payload, user: user, items: items, extra: extra, smsPayload: smsPayload, addView: addView)
150+ request_dialog ( viewController, sendable: sendable, payload: payload, user: user, items: items, extra: extra, smsPayload: smsPayload, addView: addView, isModalButNoFullScreen : isModalButNoFullScreen )
151151
152152 case UX . PG_SUBSCRIPT:
153- request_dialog ( viewController, sendable: sendable, payload: payload, user: user, items: items, extra: extra, smsPayload: smsPayload)
153+ request_dialog ( viewController, sendable: sendable, payload: payload, user: user, items: items, extra: extra, smsPayload: smsPayload, isModalButNoFullScreen : isModalButNoFullScreen )
154154// case UX.BOOTPAY_REMOTE_LINK:
155155// request_link(payload, items: items, user: user, extra: extra, smsPayload: smsPayload)
156156// case UX.BOOTPAY_REMOTE_FORM:
@@ -163,12 +163,14 @@ class BootpayDefault {
163163 }
164164
165165
166- private static func request_dialog( _ viewController: UIViewController , sendable: BootpayRequestProtocol ? , payload: BootpayPayload , user: BootpayUser ? = nil , items: [ BootpayItem ] ? = nil , extra: BootpayExtra ? = nil , smsPayload: SMSPayload ? = nil , addView: Bool ? = false , ux: String ? = nil ) {
166+ private static func request_dialog( _ viewController: UIViewController , sendable: BootpayRequestProtocol ? , payload: BootpayPayload , user: BootpayUser ? = nil , items: [ BootpayItem ] ? = nil , extra: BootpayExtra ? = nil , smsPayload: SMSPayload ? = nil , addView: Bool ? = false , ux: String ? = nil , isModalButNoFullScreen : Bool ? = false ) {
167167
168168 sharedInstance. vc = BootpayController ( )
169169
170170 sharedInstance. vc? . payload = payload
171171 if ( payload. application_id. isEmpty) { sharedInstance. vc? . payload. application_id = sharedInstance. application_id }
172+
173+ if let isModalButNoFullScreen = isModalButNoFullScreen { sharedInstance. vc? . isModalButNoFullScreen = isModalButNoFullScreen }
172174
173175
174176 if let user = user { sharedInstance. vc? . user = user }
0 commit comments