Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 비밀번호 확인란에 keyboard type: password 적용 #67

Merged
merged 2 commits into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
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 @@ -6,6 +6,7 @@ import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material3.Surface
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
Expand All @@ -14,6 +15,7 @@ import androidx.compose.runtime.getValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.input.KeyboardType
import androidx.compose.ui.unit.dp
import androidx.hilt.navigation.compose.hiltViewModel
import com.example.speechbuddy.R
Expand Down Expand Up @@ -66,7 +68,11 @@ fun ResetPasswordScreen(
},
isError = isPasswordError,
isValid = uiState.isValidPassword,
isHidden = true
isHidden = true,
keyboardOptions = KeyboardOptions(
keyboardType = KeyboardType.Password,
autoCorrect = false
)
)

TextFieldUi(
Expand All @@ -82,7 +88,11 @@ fun ResetPasswordScreen(
},
isError = isError,
isValid = uiState.isValidPassword,
isHidden = true
isHidden = true,
keyboardOptions = KeyboardOptions(
keyboardType = KeyboardType.Password,
autoCorrect = false
)
)

Spacer(modifier = Modifier.height(20.dp))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ fun SignupScreen(
},
isError = isPasswordError || isPasswordCheckError,
isValid = uiState.isValidPassword,
isHidden = true
isHidden = true,
keyboardOptions = KeyboardOptions(
keyboardType = KeyboardType.Password,
autoCorrect = false
)
)

Spacer(modifier = Modifier.height(20.dp))
Expand Down