Delete device before logout
This commit is contained in:
parent
2d6454bbf7
commit
0a90885ca3
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue