Removes the time logger for note rendering

This commit is contained in:
Vitor Pamplona
2025-05-14 12:53:56 -04:00
parent 61970b8ce5
commit 6f7f8e296b
@@ -51,7 +51,6 @@ import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.dp
import com.vitorpamplona.amethyst.R import com.vitorpamplona.amethyst.R
import com.vitorpamplona.amethyst.commons.compose.produceCachedStateAsync import com.vitorpamplona.amethyst.commons.compose.produceCachedStateAsync
import com.vitorpamplona.amethyst.logTime
import com.vitorpamplona.amethyst.model.AddressableNote import com.vitorpamplona.amethyst.model.AddressableNote
import com.vitorpamplona.amethyst.model.Channel import com.vitorpamplona.amethyst.model.Channel
import com.vitorpamplona.amethyst.model.FeatureSetType import com.vitorpamplona.amethyst.model.FeatureSetType
@@ -221,9 +220,6 @@ fun NoteCompose(
parentBackgroundColor: MutableState<Color>? = null, parentBackgroundColor: MutableState<Color>? = null,
accountViewModel: AccountViewModel, accountViewModel: AccountViewModel,
nav: INav, nav: INav,
) {
logTime(
debugMessage = { "NoteCompose " + externalLinkForNote(baseNote) },
) { ) {
WatchNoteEvent( WatchNoteEvent(
baseNote = baseNote, baseNote = baseNote,
@@ -255,7 +251,6 @@ fun NoteCompose(
} }
} }
} }
}
@Composable @Composable
fun AcceptableNote( fun AcceptableNote(