Skip to content

Commit

Permalink
[REFACTOR] #125 : Github 로그인 TextField Maxline 1로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Feb 16, 2024
1 parent 27d0d66 commit a8dddee
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,21 @@ internal fun SignInScreen(
color = WappTheme.colors.white,
fontSize = 18.sp,
)

Spacer(modifier = Modifier.height(16.dp))

Text(
text = stringResource(id = R.string.sign_in_email),
color = WappTheme.colors.white,
style = WappTheme.typography.labelRegular,
)

Spacer(modifier = Modifier.height(4.dp))

OutlinedTextField(
modifier = Modifier.fillMaxWidth(),
value = email,
maxLines = 1,
onValueChange = { email = it },
placeholder = {
Text(
Expand Down Expand Up @@ -150,20 +153,24 @@ internal fun SignInScreen(
style = WappTheme.typography.contentMedium,
)
}

Spacer(modifier = Modifier.height(16.dp))

Divider(
color = WappTheme.colors.white,
thickness = 1.dp,
)

Spacer(modifier = Modifier.height(8.dp))

Text(
modifier = Modifier.fillMaxWidth(),
textAlign = TextAlign.Center,
text = stringResource(id = R.string.sign_in_find_email),
style = WappTheme.typography.captionMedium,
color = WappTheme.colors.yellow34,
)

Spacer(modifier = Modifier.height(32.dp))
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@ internal fun SurveyDetailTopBar(
textAlign = TextAlign.Center,
modifier = Modifier.fillMaxWidth(),
style = WappTheme.typography.contentBold,
color = WappTheme.colors.white,
)
},
navigationIcon = {
Icon(
painter = painterResource(id = drawable.ic_back),
contentDescription = stringResource(
id = com.wap.wapp.core.designsystem.R.string.back_button,
),
contentDescription =
stringResource(com.wap.wapp.core.designsystem.R.string.back_button),
modifier = Modifier
.padding(start = 16.dp)
.clickable { onBackButtonClicked() },
)
},
colors = TopAppBarDefaults.topAppBarColors(
containerColor = WappTheme.colors.yellow34,
containerColor = WappTheme.colors.black25,
),
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ internal fun SurveyInformationCard(
color = WappTheme.colors.white,
textAlign = TextAlign.Start,
)

Divider()
}

Expand Down

0 comments on commit a8dddee

Please sign in to comment.