Skip to content

Commit

Permalink
Qualify of life improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
SAUL committed Oct 24, 2024
1 parent d79a5e4 commit d3066af
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/kotlin/ui/components/FormComponents.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package ui.components

import androidx.compose.foundation.clickable
import androidx.compose.foundation.hoverable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.*
Expand Down Expand Up @@ -305,7 +306,9 @@ fun UnderLineTextFiled(
imageVector = if (passwordVisible) Icons.Default.VisibilityOff
else Icons.Default.Visibility,
contentDescription = "",
modifier = Modifier.size(width = 15.dp, height = 15.dp),
modifier = Modifier.size(width = 15.dp, height = 15.dp)
.clickable(enabled = true, onClick = { }, indication = null, interactionSource = interactionSource)
.pointerHoverIcon(PointerIcon.Default),
tint = Color.Gray
)
}
Expand All @@ -317,6 +320,8 @@ fun UnderLineTextFiled(
contentDescription = "",
tint = Color.Gray,
modifier = Modifier.size(width = 15.dp, height = 15.dp)
.clickable(enabled = true, onClick = { }, indication = null, interactionSource = interactionSource)
.pointerHoverIcon(PointerIcon.Default)
)
}
if (isPassword) {
Expand Down

0 comments on commit d3066af

Please sign in to comment.