TP-63066 | crash fix (#10316)

This commit is contained in:
Apoorv Nigam
2024-04-05 19:03:42 +05:30
committed by GitHub
parent 2a27bfe8fb
commit 331bd9a965

View File

@@ -43,7 +43,7 @@ class SipTypeViewModel @Inject constructor(private val repository: SipTypeReposi
?.content
?.footerVariations
?.let { variations ->
return variations.getOrDefault(selectedType, null)
return variations.getOrElse(selectedType) { null }
}
}