1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-06-24 22:42:28 +00:00

Some cleanup

This commit is contained in:
2025-01-13 18:11:16 +01:00
parent 6ac11e2da7
commit 063f66e99a
12 changed files with 64 additions and 57 deletions

View File

@ -69,12 +69,10 @@ Page {
text: i18n.tr('Clone')
onClicked: {
var ret = false;
if(repoPasswordInput.text === "") {
if (repoPasswordInput.text === "")
ret = Git.clone_http(repoUrlInput.text, Pass.password_store);
} else {
else
ret = Git.clone_http_pass(repoUrlInput.text, Pass.password_store, repoPasswordInput.text);
}
if (ret)
PopupUtils.open(dialogImportGitCloneSuccess);
else