Skip to content
Snippets Groups Projects
Commit 21e7013a authored by Pierre Nicolas's avatar Pierre Nicolas :joy:
Browse files

wizard: tv: fix account creation crash

Use activity context instead of application context.

GitLab: #1323
Change-Id: I727156b34370ae7debb2f37b8c49ef96e7771bf4
parent a8fbe8cf
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ class TVAccountWizard : BaseActivity<AccountWizardPresenter>(), AccountWizardVie
override fun displayProgress(display: Boolean) {
if (display) {
mProgress = MaterialAlertDialogBuilder(applicationContext)
mProgress = MaterialAlertDialogBuilder(this)
.setView(ItemProgressDialogBinding.inflate(layoutInflater).root)
.setTitle(R.string.dialog_wait_create)
.setMessage(R.string.dialog_wait_create_details)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment