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

Remove incorrect default arguments #7314

Conversation

Rawa
Copy link
Contributor

@Rawa Rawa commented Dec 10, 2024

We've been lazy when it comes to creating our screens and dialog, they have a lot of empty default click handlers. While this can be convientient in some cases, e.g testing, it can also be dangerous when a argument is left out. This PR removes all the default arguments from the Screens and Dialogs.


This change is Reviewable

Copy link

linear bot commented Dec 10, 2024

@Rawa Rawa force-pushed the remove-empty-lambda-default-arguments-in-screens-and-dialogs-droid-1526 branch from dba4496 to 5566243 Compare December 10, 2024 14:48
@Rawa Rawa requested review from Pururun and kl and removed request for Pururun December 10, 2024 15:21
@Rawa Rawa self-assigned this Dec 10, 2024
@Rawa Rawa added the Android Issues related to Android label Dec 10, 2024
@Rawa Rawa force-pushed the remove-empty-lambda-default-arguments-in-screens-and-dialogs-droid-1526 branch from 5566243 to e7cd83e Compare December 10, 2024 15:26
@Rawa Rawa requested a review from Pururun December 11, 2024 08:35
Copy link
Contributor

@Pururun Pururun left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 74 of 74 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@Pururun Pururun added the On hold Means the PR is paused for some reason. No need to review it for now label Dec 13, 2024
@Rawa Rawa force-pushed the remove-empty-lambda-default-arguments-in-screens-and-dialogs-droid-1526 branch from e7cd83e to 90174b2 Compare December 13, 2024 10:39
@Rawa Rawa removed the On hold Means the PR is paused for some reason. No need to review it for now label Dec 13, 2024
@Rawa Rawa merged commit 9573f3e into main Dec 13, 2024
25 of 26 checks passed
@Rawa Rawa deleted the remove-empty-lambda-default-arguments-in-screens-and-dialogs-droid-1526 branch December 13, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Issues related to Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants