diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NoteCompose.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NoteCompose.kt index 775ac5870..e80b38309 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NoteCompose.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NoteCompose.kt @@ -687,9 +687,7 @@ private fun RenderNoteRow( makeItShort, canPreview, quotesLeft, - unPackReply, backgroundColor, - editState, accountViewModel, nav, ) @@ -697,12 +695,6 @@ private fun RenderNoteRow( is NIP90StatusEvent -> RenderNIP90Status( baseNote, - makeItShort, - canPreview, - quotesLeft, - unPackReply, - backgroundColor, - editState, accountViewModel, nav, ) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/NIP90ContentDiscoveryResponse.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/NIP90ContentDiscoveryResponse.kt index f595f2ab7..5e39e0eae 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/NIP90ContentDiscoveryResponse.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/NIP90ContentDiscoveryResponse.kt @@ -23,13 +23,11 @@ package com.vitorpamplona.amethyst.ui.note.types import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.runtime.Composable import androidx.compose.runtime.MutableState -import androidx.compose.runtime.State import androidx.compose.runtime.getValue import androidx.compose.runtime.remember import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import com.vitorpamplona.amethyst.model.Note -import com.vitorpamplona.amethyst.ui.components.GenericLoadable import com.vitorpamplona.amethyst.ui.components.SensitivityWarning import com.vitorpamplona.amethyst.ui.components.TranslatableRichTextViewer import com.vitorpamplona.amethyst.ui.note.elements.DisplayUncitedHashtags @@ -44,9 +42,7 @@ fun RenderNIP90ContentDiscoveryResponse( makeItShort: Boolean, canPreview: Boolean, quotesLeft: Int, - unPackReply: Boolean, backgroundColor: MutableState, - editState: State>, accountViewModel: AccountViewModel, nav: (String) -> Unit, ) { diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/NIP90Status.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/NIP90Status.kt index c3f032c63..0118643f7 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/NIP90Status.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/NIP90Status.kt @@ -22,24 +22,14 @@ package com.vitorpamplona.amethyst.ui.note.types import androidx.compose.material3.Text import androidx.compose.runtime.Composable -import androidx.compose.runtime.MutableState -import androidx.compose.runtime.State import androidx.compose.runtime.getValue -import androidx.compose.ui.graphics.Color import com.vitorpamplona.amethyst.model.Note -import com.vitorpamplona.amethyst.ui.components.GenericLoadable import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel import com.vitorpamplona.quartz.events.NIP90StatusEvent @Composable fun RenderNIP90Status( note: Note, - makeItShort: Boolean, - canPreview: Boolean, - quotesLeft: Int, - unPackReply: Boolean, - backgroundColor: MutableState, - editState: State>, accountViewModel: AccountViewModel, nav: (String) -> Unit, ) {