Skip to content

Commit 8e3f3f1

Browse files
authored
Apply suggestions from code review
1 parent 8e7a650 commit 8e3f3f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/ArchitectureLearningJourney.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ Whenever the list of topics changes (for example, when a new topic is added), th
192192

193193
To write data, the repository provides suspend functions. It is up to the caller to ensure that their execution is suitably scoped.
194194

195-
_Example: Follow a set of topics_
195+
_Example: Follow a topic_
196196

197-
Simply call `UserDataRepository.setFollowedTopicIds` with the set of IDs of the topics the user wishes to follow.
197+
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).
198198

199199

200200
### Data sources

0 commit comments

Comments
 (0)