From c7efb2cec975df6f49dbce7b0b420073f2b83ad4 Mon Sep 17 00:00:00 2001 From: ericdecanini Date: Tue, 17 May 2022 15:28:28 +0200 Subject: [PATCH] Changes between add space and create space --- .../java/im/vector/app/features/home/SpaceListModalFragment.kt | 1 + vector/src/main/res/layout/fragment_space_list_modal.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/vector/src/main/java/im/vector/app/features/home/SpaceListModalFragment.kt b/vector/src/main/java/im/vector/app/features/home/SpaceListModalFragment.kt index f033ce665d..b7e560eca8 100644 --- a/vector/src/main/java/im/vector/app/features/home/SpaceListModalFragment.kt +++ b/vector/src/main/java/im/vector/app/features/home/SpaceListModalFragment.kt @@ -114,6 +114,7 @@ class SpaceListModalFragment : VectorBaseFragment viewModel.setSpace(it) binding.headerText.isVisible = it == null 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() { diff --git a/vector/src/main/res/layout/fragment_space_list_modal.xml b/vector/src/main/res/layout/fragment_space_list_modal.xml index 59c37ddfa4..31196c83ef 100644 --- a/vector/src/main/res/layout/fragment_space_list_modal.xml +++ b/vector/src/main/res/layout/fragment_space_list_modal.xml @@ -166,6 +166,7 @@ app:tint="?attr/vctr_spoiler_background_color" />