From a9bee9c3f7f4c28eb680896a5d91a76cff8d001e Mon Sep 17 00:00:00 2001 From: Terry Yiu <963907+tyiu@users.noreply.github.com> Date: Wed, 21 Feb 2024 10:09:22 -0500 Subject: [PATCH] Fix compilation error for release build --- SatsPrice/ContentView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SatsPrice/ContentView.swift b/SatsPrice/ContentView.swift index ee0cc10..b7b3bdc 100644 --- a/SatsPrice/ContentView.swift +++ b/SatsPrice/ContentView.swift @@ -111,5 +111,9 @@ struct ContentView: View { } #Preview { +#if DEBUG ContentView(.fake) +#else + ContentView(.coinbase) +#endif }