fix ktlint error 'Exceeded max line length'

pull/246/head
Robert 2 years ago
parent c479fd4c20
commit 619e99b77e

@ -524,7 +524,9 @@ fun NiaCatalog() {
NiaTopicTag(
expanded = expandedTopic == "Topic 1",
followed = firstFollowed,
onDropMenuToggle = { show -> expandedTopic = if (show) "Topic 1" else null },
onDropMenuToggle = { show ->
expandedTopic = if (show) "Topic 1" else null
},
onFollowClick = { firstFollowed = true },
onUnfollowClick = { firstFollowed = false },
onBrowseClick = {},
@ -537,7 +539,9 @@ fun NiaCatalog() {
NiaTopicTag(
expanded = expandedTopic == "Topic 2",
followed = secondFollowed,
onDropMenuToggle = { show -> expandedTopic = if (show) "Topic 2" else null },
onDropMenuToggle = { show ->
expandedTopic = if (show) "Topic 2" else null
},
onFollowClick = { secondFollowed = true },
onUnfollowClick = { secondFollowed = false },
onBrowseClick = {},

@ -278,7 +278,9 @@ fun NewsResourceTopics(
NiaTopicTag(
expanded = expandedTopic == topic.id,
followed = true, // ToDo: Check if topic is followed
onDropMenuToggle = { show -> expandedTopic = if (show) topic.id else null },
onDropMenuToggle = { show ->
expandedTopic = if (show) topic.id else null
},
onFollowClick = { }, // ToDo
onUnfollowClick = { }, // ToDo
onBrowseClick = { }, // ToDo

Loading…
Cancel
Save