mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Fix send attachment icon color (and remove useless Box)
This commit is contained in:
committed by
Benoit Marty
parent
c3ab4318e6
commit
d8fdbabd27
+3
-5
@@ -316,13 +316,12 @@ private fun AttachmentButton(
|
|||||||
onClick: () -> Unit,
|
onClick: () -> Unit,
|
||||||
modifier: Modifier = Modifier
|
modifier: Modifier = Modifier
|
||||||
) {
|
) {
|
||||||
Box(modifier) {
|
|
||||||
Surface(
|
Surface(
|
||||||
Modifier
|
modifier
|
||||||
.size(30.dp)
|
.size(30.dp)
|
||||||
.clickable(true, onClick = onClick),
|
.clickable(onClick = onClick),
|
||||||
shape = CircleShape,
|
shape = CircleShape,
|
||||||
color = MaterialTheme.colorScheme.primary
|
color = ElementTheme.colors.iconPrimary
|
||||||
) {
|
) {
|
||||||
Image(
|
Image(
|
||||||
modifier = Modifier.size(12.5f.dp),
|
modifier = Modifier.size(12.5f.dp),
|
||||||
@@ -335,7 +334,6 @@ private fun AttachmentButton(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
private fun BoxScope.SendButton(
|
private fun BoxScope.SendButton(
|
||||||
|
|||||||
Reference in New Issue
Block a user