Skip to content

Commit

Permalink
ui: walletview remove bitcoin text
Browse files Browse the repository at this point in the history
  • Loading branch information
reez authored Nov 4, 2024
1 parent d8c30b9 commit 5c8b813
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions BDKSwiftExampleWallet/View/WalletView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import SwiftUI
struct WalletView: View {
@Bindable var viewModel: WalletViewModel
@Binding var sendNavigationPath: NavigationPath
@State private var isAnimating: Bool = false
@State private var isFirstAppear = true
@State private var newTransactionSent = false
@State private var showAllTransactions = false
Expand All @@ -28,16 +27,6 @@ struct WalletView: View {
VStack(spacing: 20) {

VStack(spacing: 10) {
Text("Bitcoin".uppercased())
.fontWeight(.semibold)
.fontWidth(.expanded)
.foregroundStyle(Color.bitcoinOrange)
.scaleEffect(isAnimating ? 1.0 : 0.6)
.onAppear {
withAnimation(.easeOut(duration: 0.5)) {
isAnimating = true
}
}
withAnimation {
HStack(spacing: 15) {
Image(systemName: "bitcoinsign")
Expand Down Expand Up @@ -89,7 +78,7 @@ struct WalletView: View {
value: viewModel.walletSyncState
)
}
.padding(.vertical, 20.0)
.padding(.vertical, 35.0)

VStack {
HStack {
Expand Down
Binary file removed Docs/bitcoin-home-screen.png
Binary file not shown.
Binary file added Docs/bitcoin-walletview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

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

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

Expand Down

0 comments on commit 5c8b813

Please sign in to comment.