From 77da82c3105c1b1adf98bd39325e94b4d52eb5c6 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Wed, 13 Apr 2022 10:48:22 +0100 Subject: [PATCH] removing confusing comment questions and fixing xml formatting --- .../ftueauth/terms/FtueAuthLegacyStyleTermsFragment.kt | 2 -- vector/src/main/res/layout/fragment_ftue_login_captcha.xml | 3 --- vector/src/main/res/layout/fragment_login_captcha.xml | 1 - vector/src/main/res/layout/item_policy.xml | 2 +- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/terms/FtueAuthLegacyStyleTermsFragment.kt b/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/terms/FtueAuthLegacyStyleTermsFragment.kt index f306289a5a..727e3d5cbd 100755 --- a/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/terms/FtueAuthLegacyStyleTermsFragment.kt +++ b/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/terms/FtueAuthLegacyStyleTermsFragment.kt @@ -88,8 +88,6 @@ class FtueAuthLegacyStyleTermsFragment @Inject constructor( private fun renderState() { policyController.setData(loginTermsViewState.localizedFlowDataLoginTermsChecked) - - // Button is enabled only if all checkboxes are checked views.loginTermsSubmit.isEnabled = loginTermsViewState.allChecked() } diff --git a/vector/src/main/res/layout/fragment_ftue_login_captcha.xml b/vector/src/main/res/layout/fragment_ftue_login_captcha.xml index c07d03a64c..d07e8e2b97 100644 --- a/vector/src/main/res/layout/fragment_ftue_login_captcha.xml +++ b/vector/src/main/res/layout/fragment_ftue_login_captcha.xml @@ -82,7 +82,6 @@ app:layout_constraintHeight_percent="0.03" app:layout_constraintTop_toBottomOf="@id/captchaHeaderSubtitle" /> - - - diff --git a/vector/src/main/res/layout/fragment_login_captcha.xml b/vector/src/main/res/layout/fragment_login_captcha.xml index 655bd98097..d7e5e17aa0 100644 --- a/vector/src/main/res/layout/fragment_login_captcha.xml +++ b/vector/src/main/res/layout/fragment_login_captcha.xml @@ -29,7 +29,6 @@ android:text="@string/auth_recaptcha_message" android:textColor="?vctr_content_secondary" /> - - \ No newline at end of file +