SshKeygenTask: fix build error
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
15a877fdec
commit
5d884a8a74
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class KeyGenerateTask(activity: AppCompatActivity) : AsyncTask<String?, Void?, E
|
|||
editor.putBoolean("use_generated_key", true)
|
||||
editor.apply()
|
||||
} else {
|
||||
MaterialAlertDialogBuilder(weakReference.get())
|
||||
MaterialAlertDialogBuilder(activity)
|
||||
.setTitle(activity.getString(R.string.error_generate_ssh_key))
|
||||
.setMessage(activity.getString(R.string.ssh_key_error_dialog_text) + e.message)
|
||||
.setPositiveButton(activity.getString(R.string.dialog_ok), null)
|
||||
|
|
Loading…
Reference in a new issue