Skip to content

Commit

Permalink
Fix IllegalStateException in domain registration fragment (#21566)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbradbury authored Jan 8, 2025
2 parents ff3c018 + 0d9fafa commit 1ac190b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package org.wordpress.android.ui.sitecreation.domains.compose
import android.content.res.Configuration
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.focusable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
Expand Down Expand Up @@ -61,6 +62,7 @@ fun DomainItem(uiState: DomainUiState): Unit = with(uiState) {
indication = ripple(color = HighlightBgColor),
onClick = onClick::invoke,
)
.focusable(enabled = true)
.then(if (cost is Cost.Paid) {
Modifier.padding(top = Margin.ExtraLarge.value)
} else {
Expand Down

0 comments on commit 1ac190b

Please sign in to comment.