summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/app/passwordstore/util/git/operation/CredentialFinder.kt6
-rw-r--r--app/src/main/res/layout/git_credential_layout.xml1
2 files changed, 5 insertions, 2 deletions
diff --git a/app/src/main/java/app/passwordstore/util/git/operation/CredentialFinder.kt b/app/src/main/java/app/passwordstore/util/git/operation/CredentialFinder.kt
index 16364f0c..0210a744 100644
--- a/app/src/main/java/app/passwordstore/util/git/operation/CredentialFinder.kt
+++ b/app/src/main/java/app/passwordstore/util/git/operation/CredentialFinder.kt
@@ -29,8 +29,10 @@ import dagger.hilt.components.SingletonComponent
import kotlin.coroutines.Continuation
import kotlin.coroutines.resume
-class CredentialFinder(val callingActivity: FragmentActivity, val authMode: AuthMode) :
- InteractivePasswordFinder() {
+class CredentialFinder(
+ private val callingActivity: FragmentActivity,
+ private val authMode: AuthMode,
+) : InteractivePasswordFinder() {
private val hiltEntryPoint =
EntryPointAccessors.fromApplication(
diff --git a/app/src/main/res/layout/git_credential_layout.xml b/app/src/main/res/layout/git_credential_layout.xml
index 7935f2de..251947be 100644
--- a/app/src/main/res/layout/git_credential_layout.xml
+++ b/app/src/main/res/layout/git_credential_layout.xml
@@ -35,6 +35,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/git_operation_remember_passphrase"
+ app:checkedState="checked"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/git_auth_passphrase_layout" />