We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a62d8d commit a117142Copy full SHA for a117142
WooCommerce/Classes/ViewModels/Feature Announcement Cards/FeatureAnnouncementCardViewModel.swift
@@ -58,6 +58,10 @@ class FeatureAnnouncementCardViewModel {
58
}
59
60
private func updateShouldBeVisible() {
61
+ guard CardPresentConfigurationLoader(stores: stores).configuration.isSupportedCountry else {
62
+ shouldBeVisible = false
63
+ return
64
+ }
65
let action = AppSettingsAction.getFeatureAnnouncementVisibility(campaign: config.campaign) { [weak self] result in
66
guard let self = self else { return }
67
switch result {
0 commit comments