Browse Source

reset reciepient amount after selection

pull/1/head
gme_2 6 years ago
parent
commit
ba78e1dc37
  1. 2
      GMERemittance/Module/ExchangeRate.storyboard
  2. 2
      GMERemittance/Module/ExchangeRateViewControllerV2.swift

2
GMERemittance/Module/ExchangeRate.storyboard

@ -274,7 +274,7 @@
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="You Send" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cgh-SW-cPx">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Recepient Gets" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cgh-SW-cPx">
<rect key="frame" x="0.0" y="6" width="222" height="14"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>

2
GMERemittance/Module/ExchangeRateViewControllerV2.swift

@ -87,6 +87,8 @@ class ExchangeRateViewControllerV2: UIViewController {
didSet {
self.setCurrencyLabel(currency: self.selectedExchageRateModel?.currency ?? "")
self.setCountryFlag(countryCode: self.selectedExchageRateModel?.countryCode ?? "")
self.reciepientTextField.text = ""
calcBy = "c"
collectionView.reloadData()
}
}

Loading…
Cancel
Save