Skip to content

Skip pollution notifications when feature is disabled#200

Merged
javedh-dev merged 1 commit intojavedh-dev:devfrom
rderewianko:fix/pollution-notification-feature-check-v2
Mar 26, 2026
Merged

Skip pollution notifications when feature is disabled#200
javedh-dev merged 1 commit intojavedh-dev:devfrom
rderewianko:fix/pollution-notification-feature-check-v2

Conversation

@rderewianko
Copy link
Copy Markdown
Contributor

Fixes #186
When the Pollution feature was disabled in settings, the notification bell would still show PUCC expiry warnings. The notification sync was calling buildPuccNotifications unconditionally, ignoring the featurePucc config.

Now it checks the feature flag before generating pollution notifications. Any existing pollution notifications are cleaned up automatically on the next sync.

@javedh-dev javedh-dev merged commit ad5972b into javedh-dev:dev Mar 26, 2026
1 check passed
@rderewianko rderewianko deleted the fix/pollution-notification-feature-check-v2 branch March 26, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compliance issue - Pollution

2 participants