replace hard coded logos with object ref

This commit is contained in:
Diogo
2024-11-21 15:55:07 +00:00
parent 6b0c097ea9
commit 16b56a60d8
2 changed files with 2 additions and 2 deletions
@@ -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 {
@@ -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 {