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 support for v2/instance #4062

Merged
merged 2 commits into from
Oct 25, 2023
Merged

Add support for v2/instance #4062

merged 2 commits into from
Oct 25, 2023

Conversation

Tak
Copy link
Collaborator

@Tak Tak commented Oct 13, 2023

…with fallback to v1

Comment on lines +28 to +31
data class Versions(
@SerializedName("@1x") val at1x: String?,
@SerializedName("@2x") val at2x: String?,
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think that is versions, it is resolutions. The same image, but for regular screens(@1x) and for high resolution ones (@2x).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right, I just named it after the json member, but I can rename it

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh I didn't see that. I guess its fine then.

@Tak Tak merged commit 131ebab into develop Oct 25, 2023
@Tak Tak deleted the v2instance branch October 25, 2023 10:53
@charlag charlag added this to the Tusky 24 milestone Nov 18, 2023
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.

3 participants