From 903e58b3c510321ee57f473c36a56892ff8b513f Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Wed, 12 Oct 2022 13:16:33 -0700 Subject: [PATCH] add empty subscriptions list message --- .../Sources/App/Views/Profile/Subscriptions.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apple/OmnivoreKit/Sources/App/Views/Profile/Subscriptions.swift b/apple/OmnivoreKit/Sources/App/Views/Profile/Subscriptions.swift index 39808ce52..69d11b7a8 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Profile/Subscriptions.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Profile/Subscriptions.swift @@ -64,6 +64,12 @@ struct SubscriptionsView: View { ) .buttonStyle(RoundedRectButtonStyle()) } + } else if viewModel.subscriptions.isEmpty { + VStack(alignment: .center) { + Spacer() + Text("You have no current subscriptions.") + Spacer() + } } else { Group { #if os(iOS)