File tree Expand file tree Collapse file tree
app/src/main/java/com/kuit/ourmenu Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import javax.inject.Singleton
1717class AuthRepository @Inject constructor(
1818 private val authService : AuthService ,
1919 private val tokenManager : TokenManager ,
20- private val kakaoRepository : KakaoRepository
2120) {
2221 suspend fun signup (
2322 email : String? ,
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ class SignupViewModel @Inject constructor(
163163
164164 authRepository.signup(
165165 email = completeEmail,
166- mealTime = _uiState .value.selectedTimes.map {
166+ mealTime = _uiState .value.selectedTimes.sorted(). map {
167167 " ${it.toString().padStart(2 , ' 0' )} :00:00"
168168 },
169169 password = _uiState .value.password.takeIf { it.isNotEmpty() },
@@ -194,7 +194,7 @@ class SignupViewModel @Inject constructor(
194194
195195 authRepository.signup(
196196 email = kakaoEmail,
197- mealTime = _uiState .value.selectedTimes.map {
197+ mealTime = _uiState .value.selectedTimes.sorted(). map {
198198 " ${it.toString().padStart(2 , ' 0' )} :00:00"
199199 },
200200 password = _uiState .value.password.takeIf { it.isNotEmpty() },
You can’t perform that action at this time.
0 commit comments