diff --git a/BDKSwiftExampleWallet/View/Activity/ActivityListView.swift b/BDKSwiftExampleWallet/View/Activity/ActivityListView.swift index 3eb894ab..a004d5a6 100644 --- a/BDKSwiftExampleWallet/View/Activity/ActivityListView.swift +++ b/BDKSwiftExampleWallet/View/Activity/ActivityListView.swift @@ -25,13 +25,17 @@ struct ActivityListView: View { .padding(.vertical) if viewModel.displayMode == .transactions { - TransactionListView( - viewModel: .init(), - transactions: viewModel.transactions, - walletSyncState: viewModel.walletSyncState, - format: balanceFormat, - fiatPrice: viewModel.fiatPrice - ) + ScrollView { + TransactionListView( + viewModel: .init(), + transactions: viewModel.transactions, + walletSyncState: viewModel.walletSyncState, + format: balanceFormat, + fiatPrice: viewModel.fiatPrice + ) + .frame(maxWidth: .infinity, alignment: .topLeading) + } + .ignoresSafeArea(edges: .bottom) .transition(.blurReplace) } else { LocalOutputListView( @@ -53,8 +57,8 @@ struct ActivityListView: View { : "\(viewModel.localOutputs.count) Output\(viewModel.localOutputs.count == 1 ? "" : "s")" ) .navigationBarTitleDisplayMode(.inline) + .padding(.horizontal) .padding(.top) - .padding() } diff --git a/BDKSwiftExampleWallet/View/Activity/TransactionListView.swift b/BDKSwiftExampleWallet/View/Activity/TransactionListView.swift index 5eaa9830..24a21e30 100644 --- a/BDKSwiftExampleWallet/View/Activity/TransactionListView.swift +++ b/BDKSwiftExampleWallet/View/Activity/TransactionListView.swift @@ -142,7 +142,7 @@ struct TransactionListView: View { } } - .frame(maxWidth: .infinity, alignment: .leading) + .frame(maxWidth: .infinity, alignment: .topLeading) .alert(isPresented: $viewModel.showingWalletTransactionsViewErrorAlert) { Alert( title: Text("Wallet Transaction Error"),