Browse Source

@ShadowView fixed, error code 101 can be applied

pull/1/head
Jeongbae Kong 5 years ago
parent
commit
bff8a61244
  1. 2
      GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyExchangeRate/Application Logic/Service/SendMoneyExchangeRateServiceType.swift
  2. 1
      GME Remit/Utilities/CustomUI/ShadowView.swift

2
GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyExchangeRate/Application Logic/Service/SendMoneyExchangeRateServiceType.swift

@ -34,7 +34,7 @@ extension FetchSendMoneyExchangeRateService {
url: url,
params: params,
success: { (response: SendMoneyExchangeRateModelContainer) in
if (response.errorCode ?? "") == "1" {
if (response.errorCode ?? "") != "0" {
let error = NSError(
domain: "Network",
code: 0,

1
GME Remit/Utilities/CustomUI/ShadowView.swift

@ -12,6 +12,7 @@ class ShadowView: UIView {
private var shadowLayer: CAShapeLayer!
private var cornerRadius: CGFloat = 5.0
@IBInspectable
private var shadowBackground: UIColor = .themeMainBackground
override func layoutSubviews() {

Loading…
Cancel
Save