Skip to content

Commit 5c8b813

Browse files
authored
ui: walletview remove bitcoin text
1 parent d8c30b9 commit 5c8b813

File tree

4 files changed

+2
-13
lines changed

4 files changed

+2
-13
lines changed

BDKSwiftExampleWallet/View/WalletView.swift

+1-12
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import SwiftUI
1212
struct WalletView: View {
1313
@Bindable var viewModel: WalletViewModel
1414
@Binding var sendNavigationPath: NavigationPath
15-
@State private var isAnimating: Bool = false
1615
@State private var isFirstAppear = true
1716
@State private var newTransactionSent = false
1817
@State private var showAllTransactions = false
@@ -28,16 +27,6 @@ struct WalletView: View {
2827
VStack(spacing: 20) {
2928

3029
VStack(spacing: 10) {
31-
Text("Bitcoin".uppercased())
32-
.fontWeight(.semibold)
33-
.fontWidth(.expanded)
34-
.foregroundStyle(Color.bitcoinOrange)
35-
.scaleEffect(isAnimating ? 1.0 : 0.6)
36-
.onAppear {
37-
withAnimation(.easeOut(duration: 0.5)) {
38-
isAnimating = true
39-
}
40-
}
4130
withAnimation {
4231
HStack(spacing: 15) {
4332
Image(systemName: "bitcoinsign")
@@ -89,7 +78,7 @@ struct WalletView: View {
8978
value: viewModel.walletSyncState
9079
)
9180
}
92-
.padding(.vertical, 20.0)
81+
.padding(.vertical, 35.0)
9382

9483
VStack {
9584
HStack {

Docs/bitcoin-home-screen.png

-265 KB
Binary file not shown.

Docs/bitcoin-walletview.png

254 KB
Loading

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
A native iOS app example using [Bitcoin Dev Kit](https://github.com/bitcoindevkit) via [language bindings](https://github.com/bitcoindevkit/bdk-ffi).
66

7-
<img src="Docs/bitcoin-home-screen.png" alt="Screenshot" width="210.5" height="420">
7+
<img src="Docs/bitcoin-walletview.png" alt="Screenshot" width="210.5" height="420">
88

99
Download the app on [TestFlight](https://testflight.apple.com/join/A3nAuYvZ).
1010

0 commit comments

Comments
 (0)