Changes between add space and create space
This commit is contained in:
parent
10ceb56321
commit
c7efb2cec9
|
@ -114,6 +114,7 @@ class SpaceListModalFragment : VectorBaseFragment<FragmentSpaceListModalBinding>
|
||||||
viewModel.setSpace(it)
|
viewModel.setSpace(it)
|
||||||
binding.headerText.isVisible = it == null
|
binding.headerText.isVisible = it == null
|
||||||
binding.headerTextLayout.isVisible = binding.headerText.isVisible || binding.invitesGroup.isVisible
|
binding.headerTextLayout.isVisible = binding.headerText.isVisible || binding.invitesGroup.isVisible
|
||||||
|
binding.addSpaceText.setText(if (it == null) R.string.create_space else R.string.add_space)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun invalidate() {
|
override fun invalidate() {
|
||||||
|
|
|
@ -166,6 +166,7 @@
|
||||||
app:tint="?attr/vctr_spoiler_background_color" />
|
app:tint="?attr/vctr_spoiler_background_color" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:id="@+id/add_space_text"
|
||||||
style="@style/Widget.Vector.TextView.Body.Medium"
|
style="@style/Widget.Vector.TextView.Body.Medium"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|
Loading…
Reference in New Issue