Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV: Update tests/notification rendering for new API #178

Merged
merged 4 commits into from
Dec 11, 2023
Merged

Conversation

markvanlan
Copy link
Contributor

No description provided.

@markvanlan markvanlan marked this pull request as draft December 8, 2023 22:04
@markvanlan markvanlan marked this pull request as ready for review December 11, 2023 15:46
withPluginApi("1.2.0", (api) => {
api.replaceIcon("notification.question_answer_user_commented", "comment");
withPluginApi("1.18.0", (api) => {
if (api.registerNotificationTypeRenderer) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function has existed for a long time now, so I don't think there's any need for the conditional

@markvanlan markvanlan merged commit 1c1da79 into main Dec 11, 2023
7 of 8 checks passed
@markvanlan markvanlan deleted the new-notis branch December 11, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants