diff --git a/BDKSwiftExampleWallet/View/Activity/TransactionDetailView.swift b/BDKSwiftExampleWallet/View/Activity/TransactionDetailView.swift index 1e77a3ae..14689373 100644 --- a/BDKSwiftExampleWallet/View/Activity/TransactionDetailView.swift +++ b/BDKSwiftExampleWallet/View/Activity/TransactionDetailView.swift @@ -175,13 +175,4 @@ struct TransactionDetailView: View { amount: UInt64(1_000_000) ) } - - #Preview { - TransactionDetailView( - viewModel: .init(bdkClient: .mock, keyClient: .mock), - canonicalTx: .mock, - amount: UInt64(1_000_000) - ) - .environment(\.dynamicTypeSize, .accessibility5) - } #endif diff --git a/BDKSwiftExampleWallet/View/Activity/TransactionItemView.swift b/BDKSwiftExampleWallet/View/Activity/TransactionItemView.swift index 15de72ea..73415bdf 100644 --- a/BDKSwiftExampleWallet/View/Activity/TransactionItemView.swift +++ b/BDKSwiftExampleWallet/View/Activity/TransactionItemView.swift @@ -120,11 +120,4 @@ struct TransactionItemView: View { isRedacted: false ) } - #Preview { - TransactionItemView( - sentAndReceivedValues: .mock, - canonicalTx: .mock, - isRedacted: false - ) - } #endif diff --git a/BDKSwiftExampleWallet/View/Activity/TransactionListView.swift b/BDKSwiftExampleWallet/View/Activity/TransactionListView.swift index b0bcebb9..6abe0cf5 100644 --- a/BDKSwiftExampleWallet/View/Activity/TransactionListView.swift +++ b/BDKSwiftExampleWallet/View/Activity/TransactionListView.swift @@ -99,16 +99,4 @@ struct TransactionListView: View { ) ) } - #Preview { - TransactionListView( - transactions: [ - .mock - ], - walletSyncState: .synced, - viewModel: .init( - bdkClient: .mock - ) - ) - .environment(\.dynamicTypeSize, .accessibility5) - } #endif diff --git a/BDKSwiftExampleWallet/View/HomeView.swift b/BDKSwiftExampleWallet/View/HomeView.swift index c5101d5e..3258be79 100644 --- a/BDKSwiftExampleWallet/View/HomeView.swift +++ b/BDKSwiftExampleWallet/View/HomeView.swift @@ -52,8 +52,4 @@ enum NavigationDestination: Hashable { #Preview { HomeView(viewModel: .init(bdkClient: .mock)) } - #Preview { - HomeView(viewModel: .init()) - .environment(\.dynamicTypeSize, .accessibility5) - } #endif diff --git a/BDKSwiftExampleWallet/View/OnboardingView.swift b/BDKSwiftExampleWallet/View/OnboardingView.swift index 4c260487..08ccbe3c 100644 --- a/BDKSwiftExampleWallet/View/OnboardingView.swift +++ b/BDKSwiftExampleWallet/View/OnboardingView.swift @@ -124,12 +124,4 @@ struct OnboardingView: View { #Preview("OnboardingView - en") { OnboardingView(viewModel: .init(bdkClient: .mock)) } - #Preview("OnboardingView - en - Large") { - OnboardingView(viewModel: .init(bdkClient: .mock)) - .environment(\.dynamicTypeSize, .accessibility5) - } - #Preview("OnboardingView - fr") { - OnboardingView(viewModel: .init(bdkClient: .mock)) - .environment(\.locale, .init(identifier: "fr")) - } #endif diff --git a/BDKSwiftExampleWallet/View/Receive/ReceiveView.swift b/BDKSwiftExampleWallet/View/Receive/ReceiveView.swift index fcb2d71e..aa31e04b 100644 --- a/BDKSwiftExampleWallet/View/Receive/ReceiveView.swift +++ b/BDKSwiftExampleWallet/View/Receive/ReceiveView.swift @@ -103,14 +103,4 @@ struct ReceiveView: View { #Preview("ReceiveView - en") { ReceiveView(viewModel: .init(bdkClient: .mock)) } - - #Preview("ReceiveView - en - Large") { - ReceiveView(viewModel: .init(bdkClient: .mock)) - .environment(\.dynamicTypeSize, .accessibility5) - } - - #Preview("ReceiveView - fr") { - ReceiveView(viewModel: .init(bdkClient: .mock)) - .environment(\.locale, .init(identifier: "fr")) - } #endif diff --git a/BDKSwiftExampleWallet/View/Send/AddressView.swift b/BDKSwiftExampleWallet/View/Send/AddressView.swift index 53aa86c1..a0abf2df 100644 --- a/BDKSwiftExampleWallet/View/Send/AddressView.swift +++ b/BDKSwiftExampleWallet/View/Send/AddressView.swift @@ -139,11 +139,4 @@ struct CustomScannerView: View { navigationPath: .constant(NavigationPath()) ) } - #Preview { - AddressView( - address: "tb1pw6y0vtmsn46epvz0j8ddc46ketmp28t82p22hcrrkch3a0jhu40qe267dl", - navigationPath: .constant(NavigationPath()) - ) - .environment(\.dynamicTypeSize, .accessibility5) - } #endif diff --git a/BDKSwiftExampleWallet/View/Send/AmountView.swift b/BDKSwiftExampleWallet/View/Send/AmountView.swift index b31a9fcd..47f48be3 100644 --- a/BDKSwiftExampleWallet/View/Send/AmountView.swift +++ b/BDKSwiftExampleWallet/View/Send/AmountView.swift @@ -146,13 +146,4 @@ struct NumpadButton: View { navigationPath: .constant(NavigationPath()) ) } - - #Preview { - AmountView( - address: "address", - viewModel: .init(bdkClient: .mock), - navigationPath: .constant(NavigationPath()) - ) - .environment(\.dynamicTypeSize, .accessibility5) - } #endif diff --git a/BDKSwiftExampleWallet/View/Send/BuildTransactionView.swift b/BDKSwiftExampleWallet/View/Send/BuildTransactionView.swift index b76ef1bf..7d63fa13 100644 --- a/BDKSwiftExampleWallet/View/Send/BuildTransactionView.swift +++ b/BDKSwiftExampleWallet/View/Send/BuildTransactionView.swift @@ -189,17 +189,4 @@ struct BuildTransactionView: View { navigationPath: .constant(NavigationPath()) ) } - - #Preview { - BuildTransactionView( - amount: "100000", - address: "tb1pxg0lakl0x4jee73f38m334qsma7mn2yv764x9an5ylht6tx8ccdsxtktrt", - fee: 17, - viewModel: .init( - bdkClient: .mock - ), - navigationPath: .constant(NavigationPath()) - ) - .environment(\.dynamicTypeSize, .accessibility5) - } #endif diff --git a/BDKSwiftExampleWallet/View/Send/FeeView.swift b/BDKSwiftExampleWallet/View/Send/FeeView.swift index 894f1e41..30caf6e8 100644 --- a/BDKSwiftExampleWallet/View/Send/FeeView.swift +++ b/BDKSwiftExampleWallet/View/Send/FeeView.swift @@ -114,14 +114,4 @@ struct FeeView: View { navigationPath: .constant(NavigationPath()) ) } - - #Preview { - FeeView( - amount: "50", - address: "tb1pxg0lakl0x4jee73f38m334qsma7mn2yv764x9an5ylht6tx8ccdsxtktrt", - viewModel: .init(feeClient: .mock, bdkClient: .mock), - navigationPath: .constant(NavigationPath()) - ) - .environment(\.dynamicTypeSize, .accessibility5) - } #endif diff --git a/BDKSwiftExampleWallet/View/Settings/SeedView.swift b/BDKSwiftExampleWallet/View/Settings/SeedView.swift index eb8ee915..c9858a57 100644 --- a/BDKSwiftExampleWallet/View/Settings/SeedView.swift +++ b/BDKSwiftExampleWallet/View/Settings/SeedView.swift @@ -78,14 +78,4 @@ struct SeedView: View { #Preview { SeedView(viewModel: .init(bdkService: .mock)) } - - #Preview { - SeedView(viewModel: .init(bdkService: .mock)) - .environment(\.colorScheme, .dark) - } - - #Preview { - SeedView(viewModel: .init(bdkService: .mock)) - .environment(\.dynamicTypeSize, .accessibility5) - } #endif diff --git a/BDKSwiftExampleWallet/View/Settings/SettingsView.swift b/BDKSwiftExampleWallet/View/Settings/SettingsView.swift index 7a44691a..0d2bfc33 100644 --- a/BDKSwiftExampleWallet/View/Settings/SettingsView.swift +++ b/BDKSwiftExampleWallet/View/Settings/SettingsView.swift @@ -131,8 +131,4 @@ struct SettingsView: View { #Preview { SettingsView(viewModel: .init(bdkClient: .mock, keyClient: .mock)) } - #Preview { - SettingsView(viewModel: .init(bdkClient: .mock, keyClient: .mock)) - .environment(\.dynamicTypeSize, .accessibility5) - } #endif diff --git a/BDKSwiftExampleWallet/View/WalletView.swift b/BDKSwiftExampleWallet/View/WalletView.swift index ad4b76e2..2bdb4d21 100644 --- a/BDKSwiftExampleWallet/View/WalletView.swift +++ b/BDKSwiftExampleWallet/View/WalletView.swift @@ -293,15 +293,4 @@ struct WalletView: View { ) ) } - #Preview("WalletView - fr") { - WalletView( - viewModel: .init( - priceClient: .mock, - bdkClient: .mock, - walletSyncState: .synced, - transactions: [.mock] - ) - ) - .environment(\.locale, .init(identifier: "fr")) - } #endif