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

Fix RSS button visibility #11067

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

snaik20
Copy link
Contributor

@snaik20 snaik20 commented May 12, 2024

What is it?

  • Bugfix (user facing)

Description of the changes in your PR

  • The onPrepareMenu callback is invoked after setting the visibility of the menu items.
  • Due to this, the menu item resets to it's default visibility.
  • Now updating the menu item within the callback.
  • Also migrated to the MenuHost framework to reduce dependency on deprecated APIs.

Before/After Screenshots/Screen Record

NewPipe_RSSbutton.mp4

- The `onPrepareMenu` callback is invoked after setting the visibility
  of the menu items.
- Due to this, the menu item resets to it's default visibility.
- Now updating the menu item within the callback.
- Also migrated to the MenuHost framework to reduce dependency on
  deprecated APIs.
@snaik20 snaik20 self-assigned this May 12, 2024
@github-actions github-actions bot added the size/medium PRs with less than 250 changed lines label May 12, 2024
Copy link

sonarcloud bot commented May 12, 2024

@opusforlife2 opusforlife2 added bug Issue is related to a bug GUI Issue is related to the graphical user interface labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug GUI Issue is related to the graphical user interface size/medium PRs with less than 250 changed lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants