Skip to content

Commit

Permalink
[feature/#1011] 함수명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Dec 31, 2024
1 parent a33789f commit 6312831
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 110 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package org.sopt.official.feature.auth.feature.certificatemember
package org.sopt.official.feature.auth.feature.certificate

import androidx.compose.foundation.Image
import androidx.compose.foundation.border
Expand Down Expand Up @@ -66,7 +66,7 @@ import org.sopt.official.feature.auth.component.CertificationSnackBar
import org.sopt.official.feature.auth.component.PhoneCertification

@Composable
fun CertificateMemberScreen() {
fun CertificationScreen() {
val snackBarHostState = remember { SnackbarHostState() }
val coroutineScope = rememberCoroutineScope()
val onShowSnackBar: () -> Unit = remember {
Expand Down Expand Up @@ -195,7 +195,7 @@ private fun TopBar(
}
}

enum class ErrorCase(val message: String) {
internal enum class ErrorCase(val message: String) {
CODE_ERROR("인증번호가 일치하지 않아요.\n번호를 확인한 후 다시 입력해 주세요."),
PHONE_ERROR("솝트 활동 시 사용한 전화번호가 아니예요.\n인증을 실패하신 경우 하단에서 다른 방법으로 인증할 수 있어요."),
TIME_ERROR("3분이 초과되었어요. 인증번호를 다시 요청해주세요.")
Expand All @@ -205,6 +205,6 @@ enum class ErrorCase(val message: String) {
@Composable
private fun AuthCertificationPreview() {
SoptTheme {
CertificateMemberScreen()
CertificationScreen()
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.sopt.official.feature.auth.feature.certificatemember
package org.sopt.official.feature.auth.feature.certificate

import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
Expand All @@ -13,9 +13,9 @@ enum class CertificationType(val type: String) {
}

@HiltViewModel
class CertificateMemberViewModel @Inject constructor(
class CertificationViewModel @Inject constructor(
private val repository: AuthRepository
): ViewModel() {
) : ViewModel() {
suspend fun createPhoneNumber() {
repository.getCertificationNumber(
UserInformation(
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import org.sopt.official.designsystem.SoptTheme
import org.sopt.official.feature.auth.component.AuthButton

@Composable
fun ChangeAccountScreen(
fun SocialAccountScreen(
onGoogleLoginCLick: () -> Unit
) {
Column(
Expand Down Expand Up @@ -81,7 +81,7 @@ fun ChangeAccountScreen(
@Composable
private fun ChangeAccountPreview() {
SoptTheme {
ChangeAccountScreen(
SocialAccountScreen(
onGoogleLoginCLick = {}
)
}
Expand Down

0 comments on commit 6312831

Please sign in to comment.