mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
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.StringRes
|
||||
import androidx.core.content.ContextCompat
|
||||
import androidx.core.view.isVisible
|
||||
import im.vector.app.R
|
||||
import im.vector.app.core.extensions.getResTintedDrawable
|
||||
import im.vector.app.core.extensions.getTintedDrawable
|
||||
@ -57,6 +58,9 @@ class FtueAuthUseCaseFragment @Inject constructor(
|
||||
}
|
||||
|
||||
private fun setupViews() {
|
||||
// Connect to server relies on https://github.com/vector-im/element-android/issues/5782
|
||||
views.useCaseConnectToServerGroup.isVisible = false
|
||||
|
||||
views.useCaseOptionOne.renderUseCase(
|
||||
useCase = FtueUseCase.FRIENDS_FAMILY,
|
||||
label = R.string.ftue_auth_use_case_option_one,
|
||||
|
@ -153,6 +153,12 @@
|
||||
app:layout_constraintHeight_min="16dp"
|
||||
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
|
||||
android:id="@+id/useCaseFooter"
|
||||
style="@style/Widget.Vector.TextView.Subtitle"
|
||||
|
Loading…
Reference in New Issue
Block a user