Browse Source

native country added

pull/1/head
gme_2 6 years ago
parent
commit
303e908614
  1. 8
      GMERemittance/Module/ExchangeRateViewControllerV2.swift
  2. 6
      GMERemittance/Module/SendMoneyParent/User Interface/View/SendMoneyParent.storyboard

8
GMERemittance/Module/ExchangeRateViewControllerV2.swift

@ -63,7 +63,7 @@ class ExchangeRateViewControllerV2: UIViewController {
var countryListTapGuesture: UITapGestureRecognizer?
var selectedPaymentIndex: IndexPath = IndexPath.init(row: 0, section: 0)
var nativeCountryCode: String? = "np"
var nativeCountryCode: String?
var calcBy = ""
@ -132,7 +132,8 @@ class ExchangeRateViewControllerV2: UIViewController {
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.title = "Today's Rate"
// self.title = "Today's Rate"
self.navigationItem.title = "Today's Rate"
}
@ -321,6 +322,9 @@ class ExchangeRateViewControllerV2: UIViewController {
}
private func setup() {
let nativeCountry = (UserDefaults.standard.value(forKey: UserKeys.countryCode) as? String) ?? ""
self.nativeCountryCode = nativeCountry
print("nativeCountry: \(nativeCountry)")
let dropDownImage = #imageLiteral(resourceName: "dropdown_white").withRenderingMode(UIImageRenderingMode.alwaysTemplate)
let image = dropDownImage
self.dropDownImageView.image = image

6
GMERemittance/Module/SendMoneyParent/User Interface/View/SendMoneyParent.storyboard

@ -84,19 +84,19 @@
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Payout Mode" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ROb-sT-ysp">
<rect key="frame" x="34" y="59" width="62" height="14"/>
<rect key="frame" x="34.5" y="59" width="61.5" height="13"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="11"/>
<color key="textColor" red="0.29019607843137252" green="0.29019607843137252" blue="0.29019607843137252" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Amount Detail" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gQB-Gu-fSy">
<rect key="frame" x="153.5" y="59" width="67" height="14"/>
<rect key="frame" x="154" y="59" width="67" height="13"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="11"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Verification" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Hhi-Fm-aQu">
<rect key="frame" x="282.5" y="59" width="54" height="14"/>
<rect key="frame" x="282.5" y="59" width="54" height="13"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="11"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>

Loading…
Cancel
Save