-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
ListDetailPaneScaffold #970
Conversation
One behavior issue I noticed: on a small screen (without list+detail showing together), if you tap on a topic, then navigate back, then tap on the same topic, the second tap doesn't navigate to the topic again: Screen_recording_20231017_173006.mp4 |
|
||
fun followTopic(followedTopicId: String, followed: Boolean) { | ||
viewModelScope.launch { | ||
userDataRepository.setTopicIdFollowed(followedTopicId, followed) | ||
} | ||
} | ||
|
||
fun onTopicClick(topicId: String) { | ||
viewModelScope.launch { |
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.
There's no need for a launch
here if we aren't calling a suspending function.
544e4db
to
816a7b6
Compare
Change-Id: I13cca7db13411794e333d34f6edacf594586ef6d
e9c64f3
to
dfff806
Compare
Change-Id: I4d77c84da8d18cec87f3b7a47603d62bfa9c790d
Change-Id: Ice4996331a1c44e5284839b2cdf2330c737361bf
Change-Id: I04c00490e97e0c41f5cc285df6a62014e6b12e47
Change-Id: I7e3ef3ca9bd01c436784bff0a33208abe3bc4703
Change-Id: I5ca91db033a658450144439e90ea4b880f57b7fd
Change-Id: Ic18da787dc58f2ef617149d97ad42e57da0e9a6a
Good catch. I found a few more bugs with navigation, both on phone and tablet. Repro steps:
Screen_recording_20240216_093654.mp4 |
Superseded by #1234 |
No description provided.