diff options
| author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-08-26 10:06:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-26 13:36:36 +0530 |
| commit | ad17fa7cc5003cf362c74019afa13e9d28d0f4e7 (patch) | |
| tree | 38fb4bbc7bfa26fab0ab7833387df577a0bfa736 /app/src/main/java/com/zeapo/pwdstore/Migrations.kt | |
| parent | d0b15cec49a41ec1ea51890ac7b7c8cb8515f6a4 (diff) | |
| download | HardenedPass-ad17fa7cc5003cf362c74019afa13e9d28d0f4e7.tar.gz HardenedPass-ad17fa7cc5003cf362c74019afa13e9d28d0f4e7.zip | |
Rename ConnectionMode to AuthMode and remove clone_ prefix (#1053)
Diffstat (limited to 'app/src/main/java/com/zeapo/pwdstore/Migrations.kt')
| -rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/Migrations.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/Migrations.kt b/app/src/main/java/com/zeapo/pwdstore/Migrations.kt index d0221d9e..cdf56bb3 100644 --- a/app/src/main/java/com/zeapo/pwdstore/Migrations.kt +++ b/app/src/main/java/com/zeapo/pwdstore/Migrations.kt @@ -78,7 +78,7 @@ private fun migrateToGitUrlBasedConfig(context: Context) { } if (url == null || GitSettings.updateConnectionSettingsIfValid( newProtocol = protocol, - newConnectionMode = GitSettings.connectionMode, + newAuthMode = GitSettings.authMode, newUrl = url, newBranch = GitSettings.branch) != GitSettings.UpdateConnectionSettingsResult.Valid) { e { "Failed to migrate to URL-based Git config, generated URL is invalid" } |
