Modern Apps git

← Modern-Apps.git

general: strings.xml refactoring

Commit
e9e20f1750fdf13e6e687a4722a51eeb1436ed0b
Author
Vayun Mathur <[email protected]>
When
2026-04-26 20:48 UTC (7 months ago)
Parents
dffd953
# Conflicts:
#	crypto/src/main/java/com/vayunmathur/crypto/ui/PortfolioScreen.kt
#	health/src/main/java/com/vayunmathur/health/ui/ImmunizationsPage.kt

Diff

crypto/src/main/java/com/vayunmathur/crypto/ui/PortfolioScreen.kt
diff --git a/crypto/src/main/java/com/vayunmathur/crypto/ui/PortfolioScreen.kt b/crypto/src/main/java/com/vayunmathur/crypto/ui/PortfolioScreen.ktindex 05bfeef09d..fd948e5f52 100644--- a/crypto/src/main/java/com/vayunmathur/crypto/ui/PortfolioScreen.kt+++ b/crypto/src/main/java/com/vayunmathur/crypto/ui/PortfolioScreen.kt@@ -257,6 +257,7 @@ fun TokenCard(token: Token, onClick: () -> Unit = {}) {                 Text(text = token.tokenInfo.name, fontWeight = FontWeight.Bold)                 when(token.tokenInfo.category) {                     TokenInfo.Companion.Category.NORMAL, TokenInfo.Companion.Category.XSTOCK -> {+                        val tpr = TokenPriceRepository[token.tokenInfo] ?: return@Column                         val priceStr = tpr.price.round(2)                         val changeStr = tpr.change.round(2)                         Text(
health/src/main/java/com/vayunmathur/health/ui/ImmunizationsPage.kt
diff --git a/health/src/main/java/com/vayunmathur/health/ui/ImmunizationsPage.kt b/health/src/main/java/com/vayunmathur/health/ui/ImmunizationsPage.ktindex 674e69cc95..4cedfba833 100644--- a/health/src/main/java/com/vayunmathur/health/ui/ImmunizationsPage.kt+++ b/health/src/main/java/com/vayunmathur/health/ui/ImmunizationsPage.kt@@ -214,7 +214,7 @@ fun ImmunizationCard(immunization: Immunization) {                 }                                  if (immunization.lotNumber?.value != null) {-                    Text(stringResource(R.string.lot_format, immunization.lotNumber!!.value), style = MaterialTheme.typography.bodySmall)+                    Text(stringResource(R.string.lot_format, immunization.lotNumber!!.value!!), style = MaterialTheme.typography.bodySmall)                 }             }         }