fix conversations attachment icon's tint + fix radiobuttons and checkboxes' not clickable in settings
This commit is contained in:
@@ -266,7 +266,9 @@ fun AlertItems(
|
|||||||
Spacer(modifier = Modifier.width(10.dp))
|
Spacer(modifier = Modifier.width(10.dp))
|
||||||
Checkbox(
|
Checkbox(
|
||||||
checked = item.isSelected,
|
checked = item.isSelected,
|
||||||
onCheckedChange = {}
|
onCheckedChange = {
|
||||||
|
onItemCheckedChanged?.invoke(index)
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -274,7 +276,9 @@ fun AlertItems(
|
|||||||
Spacer(modifier = Modifier.width(10.dp))
|
Spacer(modifier = Modifier.width(10.dp))
|
||||||
RadioButton(
|
RadioButton(
|
||||||
selected = item.isSelected,
|
selected = item.isSelected,
|
||||||
onClick = {}
|
onClick = {
|
||||||
|
onItemClick?.invoke(index)
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -275,7 +275,7 @@ fun ConversationItem(
|
|||||||
modifier = Modifier.size(14.dp),
|
modifier = Modifier.size(14.dp),
|
||||||
painter = painter,
|
painter = painter,
|
||||||
contentDescription = "attachment image",
|
contentDescription = "attachment image",
|
||||||
tint = MaterialTheme.colorScheme.onPrimaryContainer
|
tint = MaterialTheme.colorScheme.primary
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user