Skip to content

Commit

Permalink
renamed in to Litewallet TabView
Browse files Browse the repository at this point in the history
Signed-off-by: kcw-grunt <[email protected]>
  • Loading branch information
kcw-grunt committed Feb 10, 2024
1 parent 0609aa8 commit f6723b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions litewallet/Storyboards/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="22155" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina5_5" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22131"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
Expand Down Expand Up @@ -32,13 +32,13 @@
<!--Tab Bar View Controller-->
<scene sceneID="KaL-Vn-Yfq">
<objects>
<viewController storyboardIdentifier="TabBarViewController" extendedLayoutIncludesOpaqueBars="YES" useStoryboardIdentifierAsRestorationIdentifier="YES" id="cEo-Qi-bYI" userLabel="Tab Bar View Controller" customClass="TabBarViewController" customModule="loafwallet" customModuleProvider="target" sceneMemberID="viewController">
<viewController storyboardIdentifier="TabBarViewController" extendedLayoutIncludesOpaqueBars="YES" useStoryboardIdentifierAsRestorationIdentifier="YES" id="cEo-Qi-bYI" userLabel="Tab Bar View Controller" customClass="TabBarViewController" customModule="litewallet" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="qc8-eV-fQy">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tabBar contentMode="redraw" translucent="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zek-0n-Bbp">
<rect key="frame" x="0.0" y="638" width="414" height="49"/>
<rect key="frame" x="0.0" y="589" width="414" height="98"/>
<viewLayoutGuide key="safeArea" id="qCH-cU-E5L"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<items>
Expand Down Expand Up @@ -85,7 +85,7 @@
</constraints>
</view>
<containerView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vHe-dR-fDI">
<rect key="frame" x="0.0" y="80" width="414" height="558"/>
<rect key="frame" x="0.0" y="80" width="414" height="509"/>
<viewLayoutGuide key="safeArea" id="Mbc-cM-i4C"/>
<connections>
<segue destination="OcB-dV-AfP" kind="embed" id="YTB-HG-TRo"/>
Expand Down
8 changes: 4 additions & 4 deletions litewallet/TabBarViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ class TabBarViewController: UIViewController, Subscriber, Trackable, UITabBarDel
// MARK: - Tab View Controllers Configuration

switch NSStringFromClass(contentController.classForCoder) {
case "loafwallet.TransactionsViewController":
case "litewallet.TransactionsViewController":

guard let transactionVC = contentController as? TransactionsViewController
else {
Expand All @@ -354,23 +354,23 @@ class TabBarViewController: UIViewController, Subscriber, Trackable, UITabBarDel
transactionVC.walletManager = walletManager
transactionVC.isLtcSwapped = store?.state.isLtcSwapped

case "loafwallet.BuyTableViewController":
case "litewallet.BuyTableViewController":
guard let buyVC = contentController as? BuyTableViewController
else {
return
}
buyVC.store = store
buyVC.walletManager = walletManager

case "loafwallet.SendLTCViewController":
case "litewallet.SendLTCViewController":
guard let sendVC = contentController as? SendLTCViewController
else {
return
}

sendVC.store = store

case "loafwallet.ReceiveLTCViewController":
case "litewallet.ReceiveLTCViewController":
guard let receiveVC = contentController as? ReceiveLTCViewController
else {
return
Expand Down

0 comments on commit f6723b5

Please sign in to comment.