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
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.Continuation
import kotlin.coroutines.resume import kotlin.coroutines.resume
class CredentialFinder(val callingActivity: FragmentActivity, val authMode: AuthMode) : class CredentialFinder(
InteractivePasswordFinder() { private val callingActivity: FragmentActivity,
private val authMode: AuthMode,
) : InteractivePasswordFinder() {
private val hiltEntryPoint = private val hiltEntryPoint =
EntryPointAccessors.fromApplication( EntryPointAccessors.fromApplication(

View File

@@ -35,6 +35,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/git_operation_remember_passphrase" android:text="@string/git_operation_remember_passphrase"
app:checkedState="checked"
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toRightOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/git_auth_passphrase_layout" /> app:layout_constraintTop_toBottomOf="@+id/git_auth_passphrase_layout" />