From cca04dd40a722770df6063ba3172cca109887432 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 9 Feb 2022 10:32:04 +0000 Subject: chore(deps): update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.2.2 (#1718) Co-authored-by: Renovate Bot Co-authored-by: Harsh Shandilya --- .../aps/ui/crypto/PasswordCreationActivity.kt | 18 +++++++++--------- .../aps/ui/crypto/PasswordCreationActivityV2.kt | 4 ++-- .../java/dev/msfjarvis/aps/util/git/sshj/SshjConfig.kt | 18 +++++++++--------- 3 files changed, 20 insertions(+), 20 deletions(-) (limited to 'app/src/main') diff --git a/app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivity.kt b/app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivity.kt index 37a16b16..930da5cd 100644 --- a/app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivity.kt +++ b/app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivity.kt @@ -165,15 +165,15 @@ class PasswordCreationActivity : BasePgpActivity(), OpenPgpServiceConnection.OnB gpgIdentifierFile.writeText((keyIds + "").joinToString("\n")) } commitChange( - getString( - R.string.git_commit_gpg_id, - getLongName( - gpgIdentifierFile.parentFile!!.absolutePath, - repoPath, - gpgIdentifierFile.name + getString( + R.string.git_commit_gpg_id, + getLongName( + gpgIdentifierFile.parentFile!!.absolutePath, + repoPath, + gpgIdentifierFile.name + ) ) ) - ) .onSuccess { encrypt(encryptionIntent) } } } @@ -552,8 +552,8 @@ class PasswordCreationActivity : BasePgpActivity(), OpenPgpServiceConnection.OnB if (editing) R.string.git_commit_edit_text else R.string.git_commit_add_text lifecycleScope.launch { commitChange( - resources.getString(commitMessageRes, getLongName(fullPath, repoPath, editName)) - ) + resources.getString(commitMessageRes, getLongName(fullPath, repoPath, editName)) + ) .onSuccess { setResult(RESULT_OK, returnIntent) finish() diff --git a/app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivityV2.kt b/app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivityV2.kt index e6ee7a09..a24fbc9e 100644 --- a/app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivityV2.kt +++ b/app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivityV2.kt @@ -429,8 +429,8 @@ class PasswordCreationActivityV2 : BasePgpActivity() { if (editing) R.string.git_commit_edit_text else R.string.git_commit_add_text lifecycleScope.launch { commitChange( - resources.getString(commitMessageRes, getLongName(fullPath, repoPath, editName)) - ) + resources.getString(commitMessageRes, getLongName(fullPath, repoPath, editName)) + ) .onSuccess { setResult(RESULT_OK, returnIntent) finish() diff --git a/app/src/main/java/dev/msfjarvis/aps/util/git/sshj/SshjConfig.kt b/app/src/main/java/dev/msfjarvis/aps/util/git/sshj/SshjConfig.kt index f0405e04..948fbd35 100644 --- a/app/src/main/java/dev/msfjarvis/aps/util/git/sshj/SshjConfig.kt +++ b/app/src/main/java/dev/msfjarvis/aps/util/git/sshj/SshjConfig.kt @@ -232,15 +232,15 @@ class SshjConfig : ConfigImpl() { private fun initKeyAlgorithms() { keyAlgorithms = listOf( - KeyAlgorithms.SSHRSACertV01(), - KeyAlgorithms.EdDSA25519(), - KeyAlgorithms.ECDSASHANistp521(), - KeyAlgorithms.ECDSASHANistp384(), - KeyAlgorithms.ECDSASHANistp256(), - KeyAlgorithms.RSASHA512(), - KeyAlgorithms.RSASHA256(), - KeyAlgorithms.SSHRSA(), - ) + KeyAlgorithms.SSHRSACertV01(), + KeyAlgorithms.EdDSA25519(), + KeyAlgorithms.ECDSASHANistp521(), + KeyAlgorithms.ECDSASHANistp384(), + KeyAlgorithms.ECDSASHANistp256(), + KeyAlgorithms.RSASHA512(), + KeyAlgorithms.RSASHA256(), + KeyAlgorithms.SSHRSA(), + ) .map { OpenKeychainWrappedKeyAlgorithmFactory(it) } } -- cgit v1.2.3