Skip to content

Commit

Permalink
[FEAT]#111: Lint에 따라 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
flash159483 committed Aug 19, 2024
1 parent 18e23ce commit 9be7b3f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ fun WsTextField(
interactionSource,
colors,
WeSpotThemeManager.shapes.small,
focusedBorderThickness = 1.dp
focusedBorderThickness = 1.dp,
)
}
},
)
}
},
)
}
}
Expand All @@ -179,7 +179,6 @@ private fun cursorColor(isError: Boolean): State<Color> {
return rememberUpdatedState(if (isError) color.errorCursorColor else color.cursorColor)
}


sealed interface WsTextFieldType {
@Composable
fun trailingIcon(): Painter?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ fun GradeScreen(
TopToast(
message = stringResource(id = R.string.more_than_14_to_register),
toastType = WSToastType.Error,
showToast = toast
showToast = toast,
) {
toast = false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ fun ProfileEditScreen(
action(EntireEditAction.OnIntroductionEditDoneButtonClicked)
},
enabled =
isEdited &&
isEdited &&
state.hasProfanity.not() &&
state.introductionInput.length in 1..20,
text = stringResource(id = R.string.edit_done),
Expand All @@ -234,7 +234,7 @@ fun ProfileEditScreen(
TopToast(
message = stringResource(toast.message),
toastType = toast.type,
showToast = toast.show
showToast = toast.show,
) {
toast = toast.copy(show = false)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ fun VoteResultScreen(
launcher.launch(
navigator.navigateToInstaStory(
context,
uri
)
uri,
),
)
}.onFailure {
navigator.redirectToPlayStoreForInstagram(context)
Expand Down Expand Up @@ -598,7 +598,7 @@ private fun EmptyCard(rank: Int) {
} else {
42.dp
},
)
),
) {
if (rank == 2) {
Image(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ fun VotingScreen(
toast = false
}


if (state.loading) {
LoadingAnimation()
}
Expand Down

0 comments on commit 9be7b3f

Please sign in to comment.