hiding connect to server button in favour of handling as part of the FTUE v2 work

This commit is contained in:
Adam Brown 2022-06-13 11:33:51 +01:00
parent fca06bd167
commit b3adad8543
2 changed files with 10 additions and 0 deletions

View File

@ -28,6 +28,7 @@ import androidx.annotation.ColorRes
import androidx.annotation.DrawableRes import androidx.annotation.DrawableRes
import androidx.annotation.StringRes import androidx.annotation.StringRes
import androidx.core.content.ContextCompat import androidx.core.content.ContextCompat
import androidx.core.view.isVisible
import im.vector.app.R import im.vector.app.R
import im.vector.app.core.extensions.getResTintedDrawable import im.vector.app.core.extensions.getResTintedDrawable
import im.vector.app.core.extensions.getTintedDrawable import im.vector.app.core.extensions.getTintedDrawable
@ -57,6 +58,9 @@ class FtueAuthUseCaseFragment @Inject constructor(
} }
private fun setupViews() { private fun setupViews() {
// Connect to server relies on https://github.com/vector-im/element-android/issues/5782
views.useCaseConnectToServerGroup.isVisible = false
views.useCaseOptionOne.renderUseCase( views.useCaseOptionOne.renderUseCase(
useCase = FtueUseCase.FRIENDS_FAMILY, useCase = FtueUseCase.FRIENDS_FAMILY,
label = R.string.ftue_auth_use_case_option_one, label = R.string.ftue_auth_use_case_option_one,

View File

@ -153,6 +153,12 @@
app:layout_constraintHeight_min="16dp" app:layout_constraintHeight_min="16dp"
app:layout_constraintTop_toBottomOf="@id/useCaseSkip" /> app:layout_constraintTop_toBottomOf="@id/useCaseSkip" />
<androidx.constraintlayout.widget.Group
android:id="@+id/useCaseConnectToServerGroup"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:constraint_referenced_ids="useCaseFooter,useCaseConnectToServer" />
<TextView <TextView
android:id="@+id/useCaseFooter" android:id="@+id/useCaseFooter"
style="@style/Widget.Vector.TextView.Subtitle" style="@style/Widget.Vector.TextView.Subtitle"