mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-07 20:36:05 +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),
|
||||
@@ -334,7 +333,6 @@ private fun AttachmentButton(
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
|
||||
Reference in New Issue
Block a user