|
|
@ -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
|
|
|
|
},
|
|
|
|
},
|
|
|
|