Skip to content

Commit

Permalink
๐Ÿ”— :: (#676) ๋น„๋นŒ๋ฒˆํ˜ธ textfield ์•„์ด์ฝ˜ ๋ณ€๊ฒฝ
Browse files Browse the repository at this point in the history
๐Ÿ”— :: (#676) ๋น„๋นŒ๋ฒˆํ˜ธ textfield ์•„์ด์ฝ˜ ๋ณ€๊ฒฝ
  • Loading branch information
parkuiery authored Jun 6, 2024
2 parents 7b68ee0 + 11487f1 commit 422320e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import androidx.compose.ui.text.input.PasswordVisualTransformation
import androidx.compose.ui.text.input.VisualTransformation
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import team.aliens.dms.android.core.designsystem.DmsIcon
import team.aliens.dms.android.core.designsystem.DmsTheme
import team.aliens.dms.android.core.designsystem.R
import team.aliens.dms.android.core.designsystem.TextField
Expand All @@ -46,8 +47,8 @@ fun PasswordTextField(
textStyle: TextStyle = DmsTheme.typography.body2,
hintText: String = "",
trailingIcon: Pair<Painter, Painter> = Pair(
painterResource(id = R.drawable.ic_password_invisible),
painterResource(id = R.drawable.ic_password_visible),
painterResource(id = DmsIcon.PasswordVisible),
painterResource(id = DmsIcon.PasswordInvisible),
),
supportingText: @Composable (() -> Unit)? = null,
isError: Boolean = false,
Expand Down

0 comments on commit 422320e

Please sign in to comment.