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

feat(ui): option for automatic update checks #5668

Merged
merged 3 commits into from
Feb 28, 2024

Conversation

IndusAryan
Copy link
Contributor

@IndusAryan IndusAryan commented Feb 27, 2024

the blunders of previous pr are deeply regretted @Bnyro . those should not be existing in first place.

photo_1_2024-02-27_17-22-51

photo_2_2024-02-27_17-22-51

Comment on lines 15 to 19
fun onCreateDialog(
changelog: String,
releaseUrl: String,
context: Context,
): Dialog {
Copy link
Member

Choose a reason for hiding this comment

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

Please refactor this so that the arguments are passed as intent extras, basically as it's been before.

This implementation might crash/dismiss the dialog once the theme is changed on certain devices.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i have used the intent bundle for passing data and have tested well on android 9 and 13 , the lint is asking for SNAKE-CASE in intent data for these two things(changelog and url), should i do it or ignore it because all others are in camelCase

Copy link
Member

@Bnyro Bnyro left a comment

Choose a reason for hiding this comment

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

Thank you!

@Bnyro Bnyro merged commit 5532301 into libre-tube:master Feb 28, 2024
3 of 4 checks passed
@Bnyro
Copy link
Member

Bnyro commented Feb 28, 2024

You don't need to fix ktlint next time, I usually ignore it as well and just format the whole code from time to time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants