Apply suggestions from code review

pull/557/head
Don Turner 2 years ago committed by GitHub
parent 8e7a65027f
commit 8e3f3f16b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -192,9 +192,9 @@ Whenever the list of topics changes (for example, when a new topic is added), th
To write data, the repository provides suspend functions. It is up to the caller to ensure that their execution is suitably scoped.
_Example: Follow a set of topics_
_Example: Follow a topic_
Simply call `UserDataRepository.setFollowedTopicIds` with the set of IDs of the topics the user wishes to follow.
Simply call `UserDataRepository.toggleFollowedTopicId` with the ID of the topic the user wishes to follow and `followed=true` to indicate that the topic should be followed (use `false` to unfollow a topic).
### Data sources

Loading…
Cancel
Save