회원탈퇴
- 소셜로그인 탈퇴 안내 문구 추가
This commit is contained in:
		| @@ -35,8 +35,8 @@ android { | |||||||
|         applicationId "kr.co.vividnext.sodalive" |         applicationId "kr.co.vividnext.sodalive" | ||||||
|         minSdk 23 |         minSdk 23 | ||||||
|         targetSdk 34 |         targetSdk 34 | ||||||
|         versionCode 159 |         versionCode 161 | ||||||
|         versionName "1.34.0" |         versionName "1.34.1" | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     buildTypes { |     buildTypes { | ||||||
|   | |||||||
| @@ -29,13 +29,8 @@ class SignOutViewModel(private val repository: UserRepository) : BaseViewModel() | |||||||
|                 return |                 return | ||||||
|             } |             } | ||||||
|  |  | ||||||
|             if (password.isBlank()) { |  | ||||||
|                 _toastLiveData.postValue("비밀번호를 입력해 주세요.") |  | ||||||
|                 return |  | ||||||
|             } |  | ||||||
|  |  | ||||||
|             _isLoading.value = true |             _isLoading.value = true | ||||||
|             val request = SignOutRequest(reason.trim(), password) |             val request = SignOutRequest(reason.trim(), password.trim()) | ||||||
|  |  | ||||||
|             compositeDisposable.add( |             compositeDisposable.add( | ||||||
|                 repository.signOut(request, "Bearer ${SharedPreferenceManager.token}") |                 repository.signOut(request, "Bearer ${SharedPreferenceManager.token}") | ||||||
|   | |||||||
| @@ -30,7 +30,7 @@ | |||||||
|                 android:layout_marginTop="13.3dp" |                 android:layout_marginTop="13.3dp" | ||||||
|                 android:fontFamily="@font/gmarket_sans_bold" |                 android:fontFamily="@font/gmarket_sans_bold" | ||||||
|                 android:text="정말로 탈퇴하실 거에요?\n한 번 더 생각해보지 않으실래요?" |                 android:text="정말로 탈퇴하실 거에요?\n한 번 더 생각해보지 않으실래요?" | ||||||
|                 android:textColor="@color/color_a285eb" |                 android:textColor="@color/color_3bb9f1" | ||||||
|                 android:textSize="20sp" /> |                 android:textSize="20sp" /> | ||||||
|  |  | ||||||
|             <TextView |             <TextView | ||||||
| @@ -266,9 +266,18 @@ | |||||||
|                     android:textSize="13.3sp" |                     android:textSize="13.3sp" | ||||||
|                     android:theme="@style/EditTextStyle" |                     android:theme="@style/EditTextStyle" | ||||||
|                     tools:ignore="LabelFor" /> |                     tools:ignore="LabelFor" /> | ||||||
|  |  | ||||||
|             </LinearLayout> |             </LinearLayout> | ||||||
|  |  | ||||||
|  |             <TextView | ||||||
|  |                 android:layout_width="wrap_content" | ||||||
|  |                 android:layout_height="wrap_content" | ||||||
|  |                 android:layout_marginHorizontal="26.7dp" | ||||||
|  |                 android:layout_marginTop="8dp" | ||||||
|  |                 android:fontFamily="@font/gmarket_sans_medium" | ||||||
|  |                 android:text="※ 소셜 로그인 이용자는 비밀번호를 입력하지 말고 '탈퇴하기'를 클릭하면 자동 탈퇴됩니다." | ||||||
|  |                 android:textColor="@color/color_eeeeee" | ||||||
|  |                 android:textSize="12sp" /> | ||||||
|  |  | ||||||
|             <TextView |             <TextView | ||||||
|                 android:id="@+id/tv_sign_out" |                 android:id="@+id/tv_sign_out" | ||||||
|                 android:layout_width="match_parent" |                 android:layout_width="match_parent" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user