From c98f4e7def26545651da108f92f06e9a014e34c6 Mon Sep 17 00:00:00 2001 From: Lumaa Date: Sun, 11 Feb 2024 18:45:08 +0100 Subject: [PATCH] Few changes to shop --- Threaded/Views/Settings/ShopView.swift | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Threaded/Views/Settings/ShopView.swift b/Threaded/Views/Settings/ShopView.swift index 6221bb9..a2df880 100644 --- a/Threaded/Views/Settings/ShopView.swift +++ b/Threaded/Views/Settings/ShopView.swift @@ -8,7 +8,7 @@ struct ShopView: View { var body: some View { NavigationStack { - ProductView(id: "fr.lumaa.Threaded.plus") { + SubscriptionStoreView(productIDs: ["fr.lumaa.ThreadedPlus.yearly"]) { VStack { Text(String("Threaded+")) // Force the name as untranslatable .font(.title.bold()) @@ -25,15 +25,6 @@ struct ShopView: View { .navigationTitle(String("")) .navigationBarTitleDisplayMode(.inline) .navigationBarBackButtonHidden() - .toolbar { - ToolbarItem(placement: .cancellationAction) { - Button { - dismiss() - } label: { - Text("shop.cancel") - } - } - } } } }