From b3f409b60f8af9f96dccca37a88bb02e67351c37 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 4 Nov 2026 17:48:48 +0100 Subject: refactor(app): lay out the git credential prompt without ConstraintLayout The prompt was ConstraintLayout's last user: a vertical LinearLayout holds the same field and checkbox, so the dependency goes. Ids, input type and the remember box's default are unchanged. Co-Authored-By: Claude Opus 5.5 --- app/build.gradle.kts | 1 - app/src/main/res/layout/git_credential_layout.xml | 15 +++++---------- 2 files changed, 5 insertions(+), 11 deletions(-) (limited to 'app') diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 053d7478..cad899f9 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -60,7 +60,6 @@ dependencies { implementation(libs.androidx.appcompat) implementation(libs.androidx.autofill) implementation(libs.androidx.biometricKtx) - implementation(libs.androidx.constraintlayout) implementation(libs.androidx.core.ktx) implementation(libs.androidx.documentfile) // Pins androidx.fragment (FragmentActivity, BiometricPrompt): appcompat alone resolves 1.5.4. diff --git a/app/src/main/res/layout/git_credential_layout.xml b/app/src/main/res/layout/git_credential_layout.xml index 240c2d7a..8fc527e9 100644 --- a/app/src/main/res/layout/git_credential_layout.xml +++ b/app/src/main/res/layout/git_credential_layout.xml @@ -3,10 +3,11 @@ ~ SPDX-License-Identifier: GPL-3.0-only --> - + app:hintEnabled="true"> - + app:checkedState="checked" /> + -- cgit v1.2.3