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

Merged
merged 1 commit into from
Jun 17, 2024
Merged

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

@opusforlife2 opusforlife2 added bug Issue is related to a bug GUI Issue is related to the graphical user interface labels May 15, 2024
Copy link
Contributor

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@TobiGr TobiGr merged commit 0c7a91f into TeamNewPipe:dev Jun 17, 2024
7 checks passed
@snaik20 snaik20 deleted the fix_rss_button_visibility branch June 17, 2024 14:31
@opusforlife2
Copy link
Collaborator

Use 'fixes' or 'closes' keyword so that solved issues are closed automatically.

@Stypox Stypox mentioned this pull request Nov 17, 2024
7 tasks
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.

3 participants