Skip to content

Commit

Permalink
refactor: 수정된 변수명 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
kang9366 committed Feb 26, 2024
1 parent 077faa5 commit 47d97ab
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ import androidx.compose.ui.unit.sp
import com.kusitms.connectdog.core.designsystem.R
import com.kusitms.connectdog.core.designsystem.component.ConnectDogNormalButton
import com.kusitms.connectdog.core.designsystem.theme.ConnectDogTheme
import com.kusitms.connectdog.core.util.Type
import com.kusitms.connectdog.core.util.UserType

@Composable
fun CompleteSignUpScreen(
navigateToVolunteer: () -> Unit,
navigateToIntermediator: () -> Unit,
type: Type
userType: UserType
) {
val focusManager = LocalFocusManager.current
val interactionSource = remember { MutableInteractionSource() }
Expand Down Expand Up @@ -91,8 +91,8 @@ fun CompleteSignUpScreen(
placeable.place(0, 0)
}
},
onClick = when (type) {
Type.INTERMEDIATOR -> navigateToIntermediator
onClick = when (userType) {
UserType.INTERMEDIATOR -> navigateToIntermediator
else -> navigateToVolunteer
}
)
Expand All @@ -104,7 +104,7 @@ fun CompleteSignUpScreen(
private fun test() {
ConnectDogTheme {
CompleteSignUpScreen(
type = Type.INTERMEDIATOR,
userType = UserType.INTERMEDIATOR,
navigateToIntermediator = {},
navigateToVolunteer = {}
)
Expand Down

0 comments on commit 47d97ab

Please sign in to comment.