-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
resets the expire date for checking for updates #6980
resets the expire date for checking for updates #6980
Conversation
Why do you want to force an update check after restarting the app? I think it makes sense to reset the value. However, I think NewPipe should search for updates immediately once the option was enabled. |
sorry. I think I missed the point. But I agree that the best way would be toggle the on/off button and then check immediately. If you would consider your idea as an mergeable pull-request I will redo the patch. |
I'd merge that improvement. Go ahead :) |
e9009cb
to
5a60885
Compare
done! please review. Thank you |
@evermind-zz there is no need to |
thx for that! I've changed it |
app/src/main/java/org/schabi/newpipe/CheckForNewAppVersion.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/settings/UpdateSettingsFragment.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/CheckForNewAppVersion.java
Outdated
Show resolved
Hide resolved
7d5ebd6
to
66377bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
app/src/main/java/org/schabi/newpipe/CheckForNewAppVersion.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/settings/UpdateSettingsFragment.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/CheckForNewAppVersion.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/CheckForNewAppVersion.java
Outdated
Show resolved
Hide resolved
5acf990
to
668d488
Compare
…ing' - Convert CheckForNewAppVersion to IntentService - reset expire date to 0 after user enables check for updates setting
668d488
to
669a35b
Compare
Could I please request someone to finally pull this pull request? As all outstanding issues are fixed. Thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I was busy the last weeks.
check immediately for updates if user enables 'check for updates setting'
What is it?
Description of the changes in your PR
Fixes the following issue(s)
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
Due diligence