fix: make remembering HTTPS password the default

Not many good reasons to do this a different way
This commit is contained in:
Harsh Shandilya 2023-03-03 23:49:47 +05:30
parent a3b88c1dee
commit 90b9ed88eb
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View file

@ -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(

View file

@ -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" />