hiding connect to server button in favour of handling as part of the FTUE v2 work
This commit is contained in:
parent
fca06bd167
commit
b3adad8543
|
@ -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,
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue