From d6be6f14dcb5d02fb554498e04b40dc56a56657c Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Thu, 23 May 2024 14:11:54 -0400 Subject: [PATCH] Hide subscription section from tip jar when there are no products --- Tusker/Screens/Preferences/Tip Jar/TipJarView.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tusker/Screens/Preferences/Tip Jar/TipJarView.swift b/Tusker/Screens/Preferences/Tip Jar/TipJarView.swift index 1b9e300de3..f5b22bb276 100644 --- a/Tusker/Screens/Preferences/Tip Jar/TipJarView.swift +++ b/Tusker/Screens/Preferences/Tip Jar/TipJarView.swift @@ -84,7 +84,9 @@ struct TipJarView: View { private var productsView: some View { if isLoaded { VStack { - supporterSubscriptions + if !supporterProducts.isEmpty { + supporterSubscriptions + } tipPurchases