From 064fba653b8a3b708baf2355d0776cd986d1675c Mon Sep 17 00:00:00 2001 From: Radek Novak Date: Mon, 24 Jul 2023 17:11:29 +0200 Subject: [PATCH] Fix build error for release --- .../WalletConnectModal/Modal/Screens/GetAWalletView.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Sources/WalletConnectModal/Modal/Screens/GetAWalletView.swift b/Sources/WalletConnectModal/Modal/Screens/GetAWalletView.swift index 323a4ddb5..084e18c55 100644 --- a/Sources/WalletConnectModal/Modal/Screens/GetAWalletView.swift +++ b/Sources/WalletConnectModal/Modal/Screens/GetAWalletView.swift @@ -41,7 +41,7 @@ struct GetAWalletView: View { .multilineTextAlignment(.center) .foregroundColor(.foreground1) - Text("With hundreds of wallets out there, 
there’s something for everyone ") + Text("With hundreds of wallets out there, there’s something for everyone ") .font( .system(size: 14) .weight(.medium) @@ -67,6 +67,8 @@ struct GetAWalletView: View { } } +#if DEBUG + struct GetAWalletView_Previews: PreviewProvider { static var previews: some View { GetAWalletView( @@ -77,3 +79,5 @@ struct GetAWalletView_Previews: PreviewProvider { .environment(\.projectId, Secrets.load().projectID) } } + +#endif