From 0c2516ccf8390d7cc0db72df601a2e4c259a8234 Mon Sep 17 00:00:00 2001 From: Valere Date: Thu, 9 Jul 2020 15:47:59 +0200 Subject: [PATCH] line too long --- .../crypto/keysbackup/setup/KeysBackupSetupActivity.kt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/vector/src/main/java/im/vector/riotx/features/crypto/keysbackup/setup/KeysBackupSetupActivity.kt b/vector/src/main/java/im/vector/riotx/features/crypto/keysbackup/setup/KeysBackupSetupActivity.kt index 1371ce7021..b99c0e4330 100644 --- a/vector/src/main/java/im/vector/riotx/features/crypto/keysbackup/setup/KeysBackupSetupActivity.kt +++ b/vector/src/main/java/im/vector/riotx/features/crypto/keysbackup/setup/KeysBackupSetupActivity.kt @@ -140,7 +140,13 @@ class KeysBackupSetupActivity : SimpleFragmentActivity() { intent.type = "text/plain" intent.putExtra(Intent.EXTRA_TITLE, "riot-megolm-export-${session.myUserId}-${System.currentTimeMillis()}.txt") - startActivityForResult(Intent.createChooser(intent, getString(R.string.keys_backup_setup_step1_manual_export)), REQUEST_CODE_SAVE_MEGOLM_EXPORT) + startActivityForResult( + Intent.createChooser( + intent, + getString(R.string.keys_backup_setup_step1_manual_export) + ), + REQUEST_CODE_SAVE_MEGOLM_EXPORT + ) } catch (activityNotFoundException: ActivityNotFoundException) { toast(R.string.error_no_external_application_found) } @@ -172,7 +178,7 @@ class KeysBackupSetupActivity : SimpleFragmentActivity() { if (data) { toast(getString(R.string.encryption_exported_successfully)) Intent().apply { - putExtra(MANUAL_EXPORT, true) + putExtra(MANUAL_EXPORT, true) }.let { setResult(Activity.RESULT_OK, it) finish()