Reduce space between message and "View All" button
This commit is contained in:
parent
1af4721cd4
commit
20e40dd30c
1 changed files with 5 additions and 3 deletions
|
|
@ -18,6 +18,7 @@ import androidx.compose.foundation.layout.Spacer
|
||||||
import androidx.compose.foundation.layout.fillMaxWidth
|
import androidx.compose.foundation.layout.fillMaxWidth
|
||||||
import androidx.compose.foundation.layout.height
|
import androidx.compose.foundation.layout.height
|
||||||
import androidx.compose.foundation.layout.heightIn
|
import androidx.compose.foundation.layout.heightIn
|
||||||
|
import androidx.compose.foundation.layout.padding
|
||||||
import androidx.compose.foundation.layout.size
|
import androidx.compose.foundation.layout.size
|
||||||
import androidx.compose.foundation.layout.width
|
import androidx.compose.foundation.layout.width
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
|
|
@ -98,9 +99,8 @@ private fun PinnedMessagesBannerRow(
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
horizontalArrangement = spacedBy(10.dp)
|
|
||||||
) {
|
) {
|
||||||
Spacer(modifier = Modifier.width(16.dp))
|
Spacer(modifier = Modifier.width(26.dp))
|
||||||
PinIndicators(
|
PinIndicators(
|
||||||
pinIndex = state.currentPinnedMessageIndex(),
|
pinIndex = state.currentPinnedMessageIndex(),
|
||||||
pinsCount = state.pinnedMessagesCount(),
|
pinsCount = state.pinnedMessagesCount(),
|
||||||
|
|
@ -109,7 +109,9 @@ private fun PinnedMessagesBannerRow(
|
||||||
imageVector = CompoundIcons.PinSolid(),
|
imageVector = CompoundIcons.PinSolid(),
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
tint = ElementTheme.materialColors.secondary,
|
tint = ElementTheme.materialColors.secondary,
|
||||||
modifier = Modifier.size(20.dp)
|
modifier = Modifier
|
||||||
|
.padding(horizontal = 10.dp)
|
||||||
|
.size(20.dp)
|
||||||
)
|
)
|
||||||
PinnedMessageItem(
|
PinnedMessageItem(
|
||||||
index = state.currentPinnedMessageIndex(),
|
index = state.currentPinnedMessageIndex(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue