Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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">

## Build

Expand Down
Loading