Skip to content

Commit

Permalink
[FEAT/#294] mypage logout and quit amplitude
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Oct 21, 2024
1 parent 9bdf61b commit 4d73b0c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ fun MyPageRoute(
MyPageLogoutBottomSheet(
onDismiss = { viewModel.fetchShowLogoutBottomSheet(false) },
onLogoutClick = {
amplitudeTracker.track(
type = EventType.CLICK,
name = "mypage_logout"
)
viewModel.logoutKakao()
},
)
Expand All @@ -127,6 +131,10 @@ fun MyPageRoute(
MyPageQuitBottomSheet(
onDismiss = { viewModel.fetchShowQuitBottomSheet(false) },
onQuitClick = {
amplitudeTracker.track(
type = EventType.CLICK,
name = "mypage_delete_account"
)
viewModel.quitKakao()
}
)
Expand Down

0 comments on commit 4d73b0c

Please sign in to comment.