removing confusing comment questions and fixing xml formatting

This commit is contained in:
Adam Brown 2022-04-13 10:48:22 +01:00
parent 1ba838a58d
commit 77da82c310
4 changed files with 1 additions and 7 deletions

View File

@ -88,8 +88,6 @@ class FtueAuthLegacyStyleTermsFragment @Inject constructor(
private fun renderState() { private fun renderState() {
policyController.setData(loginTermsViewState.localizedFlowDataLoginTermsChecked) policyController.setData(loginTermsViewState.localizedFlowDataLoginTermsChecked)
// Button is enabled only if all checkboxes are checked
views.loginTermsSubmit.isEnabled = loginTermsViewState.allChecked() views.loginTermsSubmit.isEnabled = loginTermsViewState.allChecked()
} }

View File

@ -82,7 +82,6 @@
app:layout_constraintHeight_percent="0.03" app:layout_constraintHeight_percent="0.03"
app:layout_constraintTop_toBottomOf="@id/captchaHeaderSubtitle" /> app:layout_constraintTop_toBottomOf="@id/captchaHeaderSubtitle" />
<!-- contentDescription does not work on WebView? -->
<WebView <WebView
android:id="@+id/loginCaptchaWevView" android:id="@+id/loginCaptchaWevView"
android:layout_width="0dp" android:layout_width="0dp"
@ -105,5 +104,3 @@
tools:ignore="UnknownId,NotSibling" /> tools:ignore="UnknownId,NotSibling" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -29,7 +29,6 @@
android:text="@string/auth_recaptcha_message" android:text="@string/auth_recaptcha_message"
android:textColor="?vctr_content_secondary" /> android:textColor="?vctr_content_secondary" />
<!-- contentDescription does not work on WebView? -->
<WebView <WebView
android:id="@+id/loginCaptchaWevView" android:id="@+id/loginCaptchaWevView"
android:layout_width="match_parent" android:layout_width="match_parent"

View File

@ -59,4 +59,4 @@
app:tint="?vctr_content_tertiary" app:tint="?vctr_content_tertiary"
tools:ignore="MissingPrefix" /> tools:ignore="MissingPrefix" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>