Skip to content
Snippets Groups Projects
Commit 511a7170 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

AccountWizardPresenter: synchronize createNewAccount

Change-Id: Ie518db321b22c752ebc7704066fefae04bd8563c
parent f0fccbc2
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ class AccountWizardPresenter @Inject constructor(
}
}
fun successDialogClosed() {
fun successDialogClosed() {
view?.finish(true)
}
......@@ -180,6 +180,7 @@ class AccountWizardPresenter @Inject constructor(
}
}
@Synchronized
private fun createNewAccount(model: AccountCreationModel, accountDetails: Map<String, String>): Observable<Account> {
if (mCreatingAccount) {
return newAccount!!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment