File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
core/ui/src/main/java/team/aliens/dms/android/core/ui/composable Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import androidx.compose.ui.text.input.PasswordVisualTransformation
28
28
import androidx.compose.ui.text.input.VisualTransformation
29
29
import androidx.compose.ui.tooling.preview.Preview
30
30
import androidx.compose.ui.unit.dp
31
+ import team.aliens.dms.android.core.designsystem.DmsIcon
31
32
import team.aliens.dms.android.core.designsystem.DmsTheme
32
33
import team.aliens.dms.android.core.designsystem.R
33
34
import team.aliens.dms.android.core.designsystem.TextField
@@ -46,8 +47,8 @@ fun PasswordTextField(
46
47
textStyle : TextStyle = DmsTheme .typography.body2,
47
48
hintText : String = "",
48
49
trailingIcon : Pair <Painter , Painter > = Pair (
49
- painterResource(id = R .drawable.ic_password_invisible ),
50
- painterResource(id = R .drawable.ic_password_visible ),
50
+ painterResource(id = DmsIcon . PasswordVisible ),
51
+ painterResource(id = DmsIcon . PasswordInvisible ),
51
52
),
52
53
supportingText : @Composable (() -> Unit )? = null,
53
54
isError : Boolean = false,
You can’t perform that action at this time.
0 commit comments