Skip to content

Commit

Permalink
šŸ’„ SearchSuggestion>Tabsēš„disabledę ·å¼
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaubee committed Jan 12, 2025
1 parent 5b50b7a commit ae14c52
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.alpha
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.input.pointer.PointerEventType
import androidx.compose.ui.input.pointer.pointerInput
Expand Down Expand Up @@ -190,6 +191,7 @@ internal fun SearchSuggestion(
enabled = tab.enabled,
icon = { tab.icon() },
text = { Text(tab.title) },
modifier = if (tab.enabled) Modifier else Modifier.alpha(0.6f)
)
}
}
Expand Down

0 comments on commit ae14c52

Please sign in to comment.