Reverts the ReactionRow change due to misalignments
This commit is contained in:
@@ -28,7 +28,6 @@ import androidx.compose.foundation.layout.Column
|
|||||||
import androidx.compose.foundation.layout.ExperimentalLayoutApi
|
import androidx.compose.foundation.layout.ExperimentalLayoutApi
|
||||||
import androidx.compose.foundation.layout.FlowRow
|
import androidx.compose.foundation.layout.FlowRow
|
||||||
import androidx.compose.foundation.layout.Row
|
import androidx.compose.foundation.layout.Row
|
||||||
import androidx.compose.foundation.layout.Spacer
|
|
||||||
import androidx.compose.foundation.layout.padding
|
import androidx.compose.foundation.layout.padding
|
||||||
import androidx.compose.foundation.text.InlineTextContent
|
import androidx.compose.foundation.text.InlineTextContent
|
||||||
import androidx.compose.foundation.text.appendInlineContent
|
import androidx.compose.foundation.text.appendInlineContent
|
||||||
@@ -103,7 +102,6 @@ import com.vitorpamplona.amethyst.ui.screen.loggedIn.LoadedBechLink
|
|||||||
import com.vitorpamplona.amethyst.ui.theme.Font17SP
|
import com.vitorpamplona.amethyst.ui.theme.Font17SP
|
||||||
import com.vitorpamplona.amethyst.ui.theme.HalfVertPadding
|
import com.vitorpamplona.amethyst.ui.theme.HalfVertPadding
|
||||||
import com.vitorpamplona.amethyst.ui.theme.MarkdownTextStyle
|
import com.vitorpamplona.amethyst.ui.theme.MarkdownTextStyle
|
||||||
import com.vitorpamplona.amethyst.ui.theme.StdVertSpacer
|
|
||||||
import com.vitorpamplona.amethyst.ui.theme.innerPostModifier
|
import com.vitorpamplona.amethyst.ui.theme.innerPostModifier
|
||||||
import com.vitorpamplona.amethyst.ui.theme.markdownStyle
|
import com.vitorpamplona.amethyst.ui.theme.markdownStyle
|
||||||
import com.vitorpamplona.amethyst.ui.uriToRoute
|
import com.vitorpamplona.amethyst.ui.uriToRoute
|
||||||
@@ -347,6 +345,7 @@ private fun RenderRegular(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
// UrlPreviews and Images have a 5dp spacing down. This also adds the space to Text.
|
// UrlPreviews and Images have a 5dp spacing down. This also adds the space to Text.
|
||||||
val lastElement = state.paragraphs.lastOrNull()?.words?.lastOrNull()
|
val lastElement = state.paragraphs.lastOrNull()?.words?.lastOrNull()
|
||||||
if (lastElement !is ImageSegment &&
|
if (lastElement !is ImageSegment &&
|
||||||
@@ -355,7 +354,7 @@ private fun RenderRegular(
|
|||||||
lastElement !is CashuSegment
|
lastElement !is CashuSegment
|
||||||
) {
|
) {
|
||||||
Spacer(modifier = StdVertSpacer)
|
Spacer(modifier = StdVertSpacer)
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ fun ReactionsRow(
|
|||||||
) {
|
) {
|
||||||
val wantsToSeeReactions = remember(baseNote) { mutableStateOf(false) }
|
val wantsToSeeReactions = remember(baseNote) { mutableStateOf(false) }
|
||||||
|
|
||||||
// Spacer(modifier = HalfDoubleVertSpacer)
|
Spacer(modifier = HalfDoubleVertSpacer)
|
||||||
|
|
||||||
InnerReactionRow(baseNote, showReactionDetail, wantsToSeeReactions, accountViewModel, nav)
|
InnerReactionRow(baseNote, showReactionDetail, wantsToSeeReactions, accountViewModel, nav)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user