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

Lift IS_PLAY_BUILD to DI #5598

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

Rawa
Copy link
Contributor

@Rawa Rawa commented Dec 18, 2023

We use IS_PLAY_BUILD directly in ViewModel's and UI, this makes it unnecessarily hard to do testing when one is not able to set it easily. This PR lifts the property up so it is injected instead.


This change is Reviewable

Copy link

linear bot commented Dec 18, 2023

@Rawa Rawa requested review from Pururun, albin-mullvad and sabercodic and removed request for Pururun December 18, 2023 08:03
Copy link
Collaborator

@albin-mullvad albin-mullvad 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 20 of 20 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@Pururun Pururun added the Android Issues related to Android label Dec 18, 2023
@Rawa Rawa self-assigned this Dec 18, 2023
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 all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@Pururun Pururun force-pushed the avoid-using-is_play_build-directly-in-ui-droid-584 branch from b7c5aed to 1df9f4b Compare December 19, 2023 12:41
@Pururun Pururun merged commit 8e2977e into main Dec 19, 2023
15 checks passed
@Pururun Pururun deleted the avoid-using-is_play_build-directly-in-ui-droid-584 branch December 19, 2023 13:07
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.

3 participants