mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-19 00:47:03 +00:00
replace hard coded logos with object ref
This commit is contained in:
+1
-1
@@ -655,7 +655,7 @@ private fun ServerOperatorRow(
|
||||
}
|
||||
) {
|
||||
Image(
|
||||
painterResource(MR.images.decentralized),
|
||||
painterResource(operator.logo),
|
||||
operator.tradeName,
|
||||
modifier = Modifier.size(24.dp),
|
||||
colorFilter = if (operator.enabled) null else ColorFilter.colorMatrix(ColorMatrix().apply {
|
||||
|
||||
+1
-1
@@ -136,7 +136,7 @@ fun OperatorViewLayout(
|
||||
SectionView(generalGetString(MR.strings.operator).uppercase()) {
|
||||
SectionItemView({ ModalManager.start.showModalCloseable { _ -> OperatorInfoView(operator) } }) {
|
||||
Image(
|
||||
painterResource(MR.images.decentralized),
|
||||
painterResource(operator.logo),
|
||||
operator.tradeName,
|
||||
modifier = Modifier.size(24.dp),
|
||||
colorFilter = if (operator.enabled) null else ColorFilter.colorMatrix(ColorMatrix().apply {
|
||||
|
||||
Reference in New Issue
Block a user