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(app-selector): Improve app item UI to avoid overflow issues #943

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

TheAabedKhan
Copy link
Member

Before vs After

revanced_app_selector_ui

: 'v${widget.installedVersion}',
),
],
Text(
Copy link
Member

Choose a reason for hiding this comment

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

Why was the Row removed? Semantically each line of text should be a row item

Copy link
Member Author

Choose a reason for hiding this comment

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

That's because the installed version is shown right above the suggested version. The Row used to contain the app's name and its installed version. Now that they are separated from each other, the Row is no longer needed.

Copy link
Member

Choose a reason for hiding this comment

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

What if the device is widescreen? Won't the items stop to be wrapped and showed next to each other? Using Row and Columns usually also are also done for semantical reasons. If you know that you want to show a line of text below another, you use a row of those items

Copy link
Member Author

Choose a reason for hiding this comment

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

I could have used Wrap as well, but I guess the Installed version and the Suggested version should be next to each other. Also, before #934, there was no Row

@validcube validcube changed the base branch from main to dev June 14, 2023 12:50
@Ushie Ushie merged commit 58d837d into ReVanced:dev Jun 16, 2023
2 checks passed
ponces pushed a commit to ponces/revanced-manager that referenced this pull request Jun 22, 2023
@TheAabedKhan TheAabedKhan deleted the patch-5 branch July 7, 2023 12:28
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

3 participants