From 1b619cc29d0dad3017cb2b7ee90f5537273c84a5 Mon Sep 17 00:00:00 2001 From: Kgothatso Ngako Date: Mon, 4 May 2026 00:33:10 +0200 Subject: [PATCH] Reduce logging --- .../compose/ui/composable/widgets/content/RichContent.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/ac/cord/auxiliary/compose/ui/composable/widgets/content/RichContent.kt b/composeApp/src/commonMain/kotlin/ac/cord/auxiliary/compose/ui/composable/widgets/content/RichContent.kt index d2baac33..c6f4b210 100644 --- a/composeApp/src/commonMain/kotlin/ac/cord/auxiliary/compose/ui/composable/widgets/content/RichContent.kt +++ b/composeApp/src/commonMain/kotlin/ac/cord/auxiliary/compose/ui/composable/widgets/content/RichContent.kt @@ -67,8 +67,6 @@ fun RichContent( // val profileVer = eventRepo?.profileVersion?.collectAsState()?.value ?: 0 var fullScreenImageUrl by remember { mutableStateOf(null) } - Logger.withTag("RichContent").d("Segments: $segments") - if (fullScreenImageUrl != null) { FullScreenImageViewer( imageUrl = fullScreenImageUrl!!, @@ -118,12 +116,10 @@ fun RichContent( .filterIsInstance() .map { it.pubkey } - Logger.withTag("RichContent").d("profilePubKey: $profilePubkeys") val profileNames = remember(profilePubkeys) { val names = mutableMapOf() if (mentionedProfiles.isNotEmpty()) { - Logger.withTag("RichContent").d("mentionedProfiles: $mentionedProfiles") for (pubkey in profilePubkeys) { val mentionedProfile = mentionedProfiles.find { mentionedProfile -> mentionedProfile.profile?.publicKey == pubkey } names[pubkey] = mentionedProfile?.profile?.humanReadableNameOrPubkey() @@ -204,7 +200,6 @@ fun RichContent( } } is ContentSegment.NostrProfileSegment -> { - Logger.withTag("RichContent").d("NostrProfileSegment: $seg") val pubkey = seg.pubkey val displayName = profileNames[seg.pubkey] ?: seg.pubkey.take(8)