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: made the ui adaptive for orientation changes #548

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

GautamCoder4019k
Copy link
Contributor

in this pr the ui for the app is changed so that it is automatically handles orientation changes and ui is more responsive

before

WhatsApp.Video.2025-02-03.at.23.16.16_05b7c39b.mp4

after

WhatsApp.Video.2025-02-03.at.23.07.42_e1f0b161.mp4

Copy link
Collaborator

@07jasjeet 07jasjeet left a comment

Choose a reason for hiding this comment

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

Good stuff!, exactly like I wanted it to be! One small nit though and then I think we can move forward.

scrollToTop: () -> Unit,
username: String?,
isLandscape: Boolean,
brainzPlayerViewModel: BrainzPlayerViewModel = hiltViewModel()
Copy link
Collaborator

Choose a reason for hiding this comment

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

We need lift this view-model out of this component so as to make previews possible.

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.

2 participants