-
-
Notifications
You must be signed in to change notification settings - Fork 32
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 toggle topbar feature, and add UnstableApi annotation for experimental code #110
Conversation
…ggle button for toggle topbar in setting screen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for opening this PR, one of the contributor will review your PR within few days :)
app/src/main/java/com/techlads/composetv/features/home/leftmenu/data/MenuData.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/techlads/composetv/features/home/navigation/topbar/HomeTopBar.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/techlads/composetv/features/home/navigation/topbar/HomeTopBar.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/techlads/composetv/features/home/navigation/topbar/HomeTopBar.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work @SeptAlfauzan, I really liked the way you quickly understood the project and delivered it quickly.
I have few requests
- Say no to hard code colors, rather use Theme colors, you can see some existing code example
- No return statement in composable, there are some places where I have added, I will also remove it
- Menu items
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @SeptAlfauzan
for now the data to check if using the topbar still uses the StateFlow on the HomeViewModel class.