mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-08 05:46:45 +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,
|
||||
modifier: Modifier = Modifier
|
||||
) {
|
||||
Box(modifier) {
|
||||
Surface(
|
||||
Modifier
|
||||
modifier
|
||||
.size(30.dp)
|
||||
.clickable(true, onClick = onClick),
|
||||
.clickable(onClick = onClick),
|
||||
shape = CircleShape,
|
||||
color = MaterialTheme.colorScheme.primary
|
||||
color = ElementTheme.colors.iconPrimary
|
||||
) {
|
||||
Image(
|
||||
modifier = Modifier.size(12.5f.dp),
|
||||
@@ -335,7 +334,6 @@ private fun AttachmentButton(
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
private fun BoxScope.SendButton(
|
||||
|
||||
Reference in New Issue
Block a user