mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
DEL: Loading indicator not needed as data loads instantly
This commit is contained in:
parent
cfb018be33
commit
a6ee7767dc
2 changed files with 0 additions and 9 deletions
|
@ -13,7 +13,6 @@ import Foundation
|
||||||
class InterfaceController: WKInterfaceController {
|
class InterfaceController: WKInterfaceController {
|
||||||
|
|
||||||
@IBOutlet weak var walletsTable: WKInterfaceTable!
|
@IBOutlet weak var walletsTable: WKInterfaceTable!
|
||||||
@IBOutlet weak var loadingIndicatorGroup: WKInterfaceGroup!
|
|
||||||
@IBOutlet weak var noWalletsAvailableLabel: WKInterfaceLabel!
|
@IBOutlet weak var noWalletsAvailableLabel: WKInterfaceLabel!
|
||||||
|
|
||||||
override func willActivate() {
|
override func willActivate() {
|
||||||
|
@ -21,7 +20,6 @@ class InterfaceController: WKInterfaceController {
|
||||||
super.willActivate()
|
super.willActivate()
|
||||||
|
|
||||||
if (WatchDataSource.shared.wallets.isEmpty) {
|
if (WatchDataSource.shared.wallets.isEmpty) {
|
||||||
loadingIndicatorGroup.setHidden(true)
|
|
||||||
noWalletsAvailableLabel.setHidden(false)
|
noWalletsAvailableLabel.setHidden(false)
|
||||||
} else {
|
} else {
|
||||||
processWalletsTable()
|
processWalletsTable()
|
||||||
|
|
|
@ -37,16 +37,9 @@
|
||||||
</tableRow>
|
</tableRow>
|
||||||
</items>
|
</items>
|
||||||
</table>
|
</table>
|
||||||
<group width="1" alignment="left" verticalAlignment="center" layout="vertical" id="1Db-mZ-yxl">
|
|
||||||
<items>
|
|
||||||
<imageView width="60" height="60" alignment="center" image="loadingIndicator" contentMode="scaleAspectFit" id="dLA-pP-GUU"/>
|
|
||||||
<label alignment="center" text="Loading wallets..." id="hCG-Eg-bck"/>
|
|
||||||
</items>
|
|
||||||
</group>
|
|
||||||
<label alignment="center" verticalAlignment="center" hidden="YES" text="No wallets available. Please, add one by opening BlueWallet on your iPhone." textAlignment="center" numberOfLines="0" id="I2I-8t-hp3"/>
|
<label alignment="center" verticalAlignment="center" hidden="YES" text="No wallets available. Please, add one by opening BlueWallet on your iPhone." textAlignment="center" numberOfLines="0" id="I2I-8t-hp3"/>
|
||||||
</items>
|
</items>
|
||||||
<connections>
|
<connections>
|
||||||
<outlet property="loadingIndicatorGroup" destination="1Db-mZ-yxl" id="XPX-Y8-dv0"/>
|
|
||||||
<outlet property="noWalletsAvailableLabel" destination="I2I-8t-hp3" id="c4O-Mg-3ps"/>
|
<outlet property="noWalletsAvailableLabel" destination="I2I-8t-hp3" id="c4O-Mg-3ps"/>
|
||||||
<outlet property="walletsTable" destination="jUH-JS-ccp" id="ONe-Gg-EJn"/>
|
<outlet property="walletsTable" destination="jUH-JS-ccp" id="ONe-Gg-EJn"/>
|
||||||
</connections>
|
</connections>
|
||||||
|
|
Loading…
Add table
Reference in a new issue