Delete device before logout

This commit is contained in:
sim 2023-03-05 12:36:46 +01:00
parent 2d6454bbf7
commit 0a90885ca3
1 changed files with 1 additions and 1 deletions

View File

@ -88,11 +88,11 @@ class MainActivity : AppCompatActivity() {
alert.setMessage(R.string.logout_alert_content)
alert.setPositiveButton(R.string.ok) { dialog, _ ->
dialog.dismiss()
getAccount(this)?.logout(this)
deleteDevice(this) {
StartService.stopService()
FailureHandler.clearFails()
}
getAccount(this)?.logout(this)
finish()
goToStartActivity(this)
}