Skip to content

Commit fdc753c

Browse files
authored
fix: remove loading view
1 parent 2bd6e8f commit fdc753c

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

BDKSwiftExampleWallet/Resources/Localizable.xcstrings

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -421,9 +421,6 @@
421421
}
422422
}
423423
}
424-
},
425-
"Loading wallet..." : {
426-
427424
},
428425
"Navigation Title" : {
429426
"extractionState" : "stale",

BDKSwiftExampleWallet/View/HomeView.swift

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,14 @@ struct HomeView: View {
1515
ZStack {
1616
Color(uiColor: UIColor.systemBackground)
1717

18-
if !viewModel.isWalletLoaded {
19-
ProgressView("Loading wallet...")
20-
} else {
21-
WalletView(
22-
viewModel: .init(
23-
bdkClient: .live,
24-
priceClient: .live
25-
),
26-
sendNavigationPath: $navigationPath
27-
)
28-
.tint(.primary)
29-
}
18+
WalletView(
19+
viewModel: .init(
20+
bdkClient: .live,
21+
priceClient: .live
22+
),
23+
sendNavigationPath: $navigationPath
24+
)
25+
.tint(.primary)
3026
}
3127
.onAppear {
3228
viewModel.loadWallet()

0 commit comments

Comments
 (0)