File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
feature/settings/src/main/kotlin/com/ninecraft/booket/feature/settings Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ class SettingsPresenter @AssistedInject constructor(
5757 isLoading = true
5858 authRepository.logout()
5959 .onSuccess {
60+ analyticsHelper.logEvent(SETTINGS_LOGOUT_COMPLETE )
6061 navigator.resetRoot(LoginScreen )
6162 }
6263 .onFailure { exception ->
@@ -86,6 +87,7 @@ class SettingsPresenter @AssistedInject constructor(
8687 isLoading = true
8788 authRepository.withdraw()
8889 .onSuccess {
90+ analyticsHelper.logEvent(SETTINGS_WITHDRAWAL_COMPLETE )
8991 navigator.resetRoot(LoginScreen )
9092 }
9193 .onFailure { exception ->
@@ -163,6 +165,7 @@ class SettingsPresenter @AssistedInject constructor(
163165 }
164166
165167 is SettingsUiEvent .OnWithdrawClick -> {
168+ analyticsHelper.logEvent(SETTINGS_WITHDRAWAL_WARNING )
166169 isWithdrawBottomSheetVisible = true
167170 }
168171
You can’t perform that action at this time.
0 commit comments