Merge pull request #7567 from thunderbird/change-success-to-loading-indicator

Change success to loading indicator
This commit is contained in:
Wolf-Martell Montwé 2024-01-26 11:52:06 +00:00 committed by GitHub
commit 5d5ab4b7ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,6 @@ import app.k9mail.core.ui.compose.theme.PreviewWithThemes
import app.k9mail.feature.account.common.ui.item.ErrorItem
import app.k9mail.feature.account.common.ui.item.ListItem
import app.k9mail.feature.account.common.ui.item.LoadingItem
import app.k9mail.feature.account.common.ui.item.SuccessItem
import app.k9mail.feature.account.oauth.ui.AccountOAuthContract
import app.k9mail.feature.account.oauth.ui.AccountOAuthView
import app.k9mail.feature.account.oauth.ui.preview.PreviewAccountOAuthViewModel
@ -74,7 +73,7 @@ internal fun ServerValidationContent(
}
} else if (state.isSuccess) {
item(key = "success") {
SuccessItem(
LoadingItem(
message = stringResource(
id = if (isIncomingValidation) {
R.string.account_server_validation_incoming_success