Renamed SaveableNewsResource to UserNewsResource

pull/507/head
magicalmeghan 2 years ago
parent e1f850f67e
commit a8f55d9d38

@ -242,7 +242,7 @@ fun NewsResourceTopics(
for (followableTopic in topics) { for (followableTopic in topics) {
NiaTopicTag( NiaTopicTag(
expanded = expandedTopicId == followableTopic.topic.id, expanded = expandedTopicId == followableTopic.topic.id,
followed = true, // ToDo: Check if topic is followed followed = followableTopic.isFollowed,
onDropdownMenuToggle = { show -> onDropdownMenuToggle = { show ->
expandedTopicId = if (show) followableTopic.topic.id else null expandedTopicId = if (show) followableTopic.topic.id else null
}, },

Loading…
Cancel
Save