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

Add link to donation page on app drawer #11870

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

Conversation

theScrabi
Copy link
Member

@theScrabi theScrabi commented Jan 2, 2025

At 38c3 we discussed how we could make the request for donations more visible. We discussed multiple models. Ultimately we could not agree on a good solution to actually ask the user for donations.
However, we all agreed that donations should be more visible than just show up in the about screen.

This will add the link for donations to the app drawer. When clicking it will open the donation page of the NewPipe website.

@github-actions github-actions bot added the size/small PRs with less than 50 changed lines label Jan 2, 2025
@AudricV AudricV changed the title add donation link to app drawer Add link to donation page on app drawer Jan 2, 2025
@AudricV AudricV added the template missing The bug/feature template is missing (e.g. the used app does not support issue templates) label Jan 2, 2025
@Profpatsch
Copy link
Contributor

I switched over to the ShareUtils call, and also added a small fun toast message when the user clicks the button (that displays for a short amount of time).

image

@Profpatsch Profpatsch marked this pull request as ready for review January 21, 2025 17:56
@ShareASmile ShareASmile added the feature request Issue is related to a feature in the app label Jan 21, 2025
@Stypox
Copy link
Member

Stypox commented Jan 21, 2025

Shouldn't you do "openInBrowser" instead of "openInApp"?

This creates a donation link that leads to our donation page on the
NewPipe website.

It will open the browser and display a “thank you” message toast when
the button is pressed.
@Profpatsch
Copy link
Contributor

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issue is related to a feature in the app size/small PRs with less than 50 changed lines template missing The bug/feature template is missing (e.g. the used app does not support issue templates)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants