Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.ColorFilter
import androidx.compose.ui.graphics.ColorFilter.Companion.tint
import androidx.compose.ui.graphics.graphicsLayer
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.unit.Dp
Expand Down Expand Up @@ -196,6 +197,7 @@ fun WithTooltip(
Text(
text = tooltip,
style = FloconTheme.typography.labelSmall,
color = FloconTheme.colorPalette.onPrimary,
modifier = Modifier
.clip(FloconTheme.shapes.small)
.background(FloconTheme.colorPalette.primary)
Expand Down Expand Up @@ -239,7 +241,6 @@ fun FloconIconButton(
modifier: Modifier = Modifier,
tooltip: String? = null,
enabled: Boolean = true,
tint: Color = LocalContentColor.current
) {
WithTooltip(tooltip) {
FloconIconButton(
Expand All @@ -249,7 +250,6 @@ fun FloconIconButton(
) {
FloconIcon(
imageVector = imageVector,
tint = tint,
)
}
}
Expand Down
Loading