Skip to content

Commit

Permalink
refactor : UnsubscribeScreen Toast 코드 단순화 #PAR-383
Browse files Browse the repository at this point in the history
  • Loading branch information
nohjunh committed Oct 14, 2023
1 parent 0a41bf2 commit 34e65f1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ fun UnsubscribeScreen(

if (settingsUiState.isAccountDeletionSuccess) {
val message = stringResource(id = R.string.unsubscribe_success_message)
val toast = Toast.makeText(context, message, Toast.LENGTH_SHORT)
toast.show()
Toast.makeText(context, message, Toast.LENGTH_SHORT).show()
onSignOut() // 파이어베이스 구글 로그아웃 -> 스플래시로 되돌아감.
}

Expand Down

0 comments on commit 34e65f1

Please sign in to comment.