From 05080b689d707f6c400d40904879ec702a5a2742 Mon Sep 17 00:00:00 2001 From: lumaa-dev Date: Sat, 5 Oct 2024 14:11:44 +0200 Subject: [PATCH] Removed Bubble+ from update --- Bubble/Views/Settings/UpdateView.swift | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Bubble/Views/Settings/UpdateView.swift b/Bubble/Views/Settings/UpdateView.swift index a5f88ea..46fdce9 100644 --- a/Bubble/Views/Settings/UpdateView.swift +++ b/Bubble/Views/Settings/UpdateView.swift @@ -39,11 +39,11 @@ struct UpdateView: View { var features: some View { VStack(spacing: 60) { - newFeature(imageName: "HeroPlus", title: "Bubble+ is here!", text: "More accounts, more drafts, downloadable attachments... and VIP!") + newFeature(systemImage: "figure.child.and.lock.fill", title: "Follow request", text: "A proper follow request button is available on private accounts") newFeature(imageName: "SubClubMark", title: "sub.club", text: "A full sub.club integration was made in collaboration with them! Thank you!") - newFeature(systemImage: "link", title: "Deep links", text: "bubbleapp://plus as well as tapping on usernames in posts is possible now!") + newFeature(systemImage: "link", title: "Deep links", text: "bubbleapp://update as well as tapping on usernames in posts is possible now!") } .frame(height: 500) } @@ -141,6 +141,15 @@ struct UpdateView: View { .padding(.horizontal) } } + + @ViewBuilder + private func newFeature(_ feature: AppInfo.Feature) -> some View { + self.newFeature( + systemImage: feature.details.systemImage, + title: feature.details.title.toString(), + text: feature.details.description.toString() + ) + } } #Preview {