Browse Source

bug fixes

v0.17
stepie.ub 1 year ago
parent
commit
44e1546f55
  1. 1
      GME Remit.xcodeproj/project.pbxproj
  2. BIN
      GME Remit/.DS_Store
  3. 11
      GME Remit/Modules/Home/User Interface/View/Custom/HomeExchangeRateView.swift
  4. 14
      GME Remit/Modules/Home/User Interface/View/Home.storyboard

1
GME Remit.xcodeproj/project.pbxproj

@ -8966,6 +8966,7 @@
DEVELOPMENT_TEAM = 68KRG7GPAV; DEVELOPMENT_TEAM = 68KRG7GPAV;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
EXCLUDED_ARCHS = ""; EXCLUDED_ARCHS = "";
"EXCLUDED_ARCHS[sdk=*]" = arm64;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"$(PROJECT_DIR)/GME\\ Remit/ThirdParty/virtualKeyboard/mtk_module", "$(PROJECT_DIR)/GME\\ Remit/ThirdParty/virtualKeyboard/mtk_module",

BIN
GME Remit/.DS_Store

11
GME Remit/Modules/Home/User Interface/View/Custom/HomeExchangeRateView.swift

@ -30,11 +30,14 @@ class HomeExchangeRateView: UIView {
let flowlayout = UICollectionViewFlowLayout() let flowlayout = UICollectionViewFlowLayout()
flowlayout.scrollDirection = .horizontal flowlayout.scrollDirection = .horizontal
flowlayout.collectionView?.showsHorizontalScrollIndicator = false flowlayout.collectionView?.showsHorizontalScrollIndicator = false
flowlayout.collectionView?.showsVerticalScrollIndicator = false
let view = UICollectionView(frame: CGRect.zero, collectionViewLayout: flowlayout) let view = UICollectionView(frame: CGRect.zero, collectionViewLayout: flowlayout)
view.translatesAutoresizingMaskIntoConstraints = false view.translatesAutoresizingMaskIntoConstraints = false
view.register(HomeExchangeRateCollectionViewCell.self, forCellWithReuseIdentifier: HomeExchangeRateCollectionViewCell.identifier) view.register(HomeExchangeRateCollectionViewCell.self, forCellWithReuseIdentifier: HomeExchangeRateCollectionViewCell.identifier)
view.backgroundColor = .white view.backgroundColor = .white
view.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0)
view.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: 8, right: 0)
view.showsHorizontalScrollIndicator = false
return view return view
}() }()
@ -166,7 +169,7 @@ class HomeExchangeRateView: UIView {
sendMoneyView.anchor( sendMoneyView.anchor(
top: collectionView.bottomAnchor, top: collectionView.bottomAnchor,
paddingTop: 20,
paddingTop: 16,
left: containerView.leadingAnchor, left: containerView.leadingAnchor,
paddingLeft: 0, paddingLeft: 0,
right: containerView.trailingAnchor, right: containerView.trailingAnchor,
@ -358,9 +361,9 @@ class HomeExchangeRateView: UIView {
recivedMoneyView.updatedText = defaultAmount.likeCommaMoney() recivedMoneyView.updatedText = defaultAmount.likeCommaMoney()
calculateExchangeRate() calculateExchangeRate()
DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
// DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
self.collectionView.reloadData() self.collectionView.reloadData()
}
// }
} }
@objc func calculateExchangeRate() { @objc func calculateExchangeRate() {

14
GME Remit/Modules/Home/User Interface/View/Home.storyboard

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="ezt-uK-zb8">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="ezt-uK-zb8">
<device id="retina4_0" orientation="portrait" appearance="light"/> <device id="retina4_0" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
<capability name="Named colors" minToolsVersion="9.0"/> <capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@ -29,7 +29,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="cmV-f6-xVu"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="cmV-f6-xVu">
<rect key="frame" x="16" y="64" width="368" height="32"/>
<rect key="frame" x="16" y="44" width="368" height="32"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VwJ-3I-NPc"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VwJ-3I-NPc">
<rect key="frame" x="0.0" y="0.0" width="368" height="32"/> <rect key="frame" x="0.0" y="0.0" width="368" height="32"/>
@ -87,7 +87,7 @@
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</stackView> </stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="alB-Pe-T92"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="alB-Pe-T92">
<rect key="frame" x="0.0" y="96" width="400" height="100"/>
<rect key="frame" x="0.0" y="76" width="400" height="100"/>
<subviews> <subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Documents" translatesAutoresizingMaskIntoConstraints="NO" id="UD8-ap-8xD"> <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Documents" translatesAutoresizingMaskIntoConstraints="NO" id="UD8-ap-8xD">
<rect key="frame" x="24" y="14" width="67" height="72"/> <rect key="frame" x="24" y="14" width="67" height="72"/>
@ -137,9 +137,9 @@
</connections> </connections>
</view> </view>
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rYg-o8-m3E"> <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rYg-o8-m3E">
<rect key="frame" x="0.0" y="196" width="400" height="755"/>
<rect key="frame" x="0.0" y="176" width="400" height="775"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="32" translatesAutoresizingMaskIntoConstraints="NO" id="fsQ-oi-9f5">
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="fsQ-oi-9f5">
<rect key="frame" x="0.0" y="0.0" width="400" height="134.5"/> <rect key="frame" x="0.0" y="0.0" width="400" height="134.5"/>
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="A2Y-eS-2d3"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="A2Y-eS-2d3">
@ -288,7 +288,7 @@
<tabBarItem key="tabBarItem" title="Home" image="branch" id="If6-UM-LN6"/> <tabBarItem key="tabBarItem" title="Home" image="branch" id="If6-UM-LN6"/>
<toolbarItems/> <toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="NbY-y6-481"> <navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="NbY-y6-481">
<rect key="frame" x="0.0" y="20" width="320" height="50"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="50"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
</navigationBar> </navigationBar>
<nil name="viewControllers"/> <nil name="viewControllers"/>

Loading…
Cancel
Save