Quick fix warning nullable

This commit is contained in:
Valere 2022-01-10 09:39:52 +01:00
parent aa7d284dd9
commit 6798492cc3
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class AccountDataEpoxyController @Inject constructor(
is Fail -> {
genericFooterItem {
id("fail")
text(data.accountData.error.localizedMessage.toEpoxyCharSequence())
text(data.accountData.error.localizedMessage?.toEpoxyCharSequence())
}
}
is Success -> {

View File

@ -87,7 +87,7 @@ class ThreePidsSettingsController @Inject constructor(
is Fail -> {
genericFooterItem {
id("fail")
text(data.threePids.error.localizedMessage.toEpoxyCharSequence())
text(data.threePids.error.localizedMessage?.toEpoxyCharSequence())
}
}
is Success -> {