mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Reduce space between message and "View All" button
This commit is contained in:
committed by
Benoit Marty
parent
aaf14b6604
commit
96232d5cdf
+5
-3
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user