diff --git a/vector/src/main/java/im/vector/app/features/spaces/explore/SpaceDirectoryFragment.kt b/vector/src/main/java/im/vector/app/features/spaces/explore/SpaceDirectoryFragment.kt index 2402e95e76..04ebebdbf3 100644 --- a/vector/src/main/java/im/vector/app/features/spaces/explore/SpaceDirectoryFragment.kt +++ b/vector/src/main/java/im/vector/app/features/spaces/explore/SpaceDirectoryFragment.kt @@ -135,7 +135,7 @@ class SpaceDirectoryFragment @Inject constructor( viewModel.handle(SpaceDirectoryViewAction.Retry) } - private val addExistingRoomActivityResult = registerStartForActivityResult { activityResult -> + private val addExistingRoomActivityResult = registerStartForActivityResult { _ -> viewModel.handle(SpaceDirectoryViewAction.Retry) } diff --git a/vector/src/main/res/layout/item_generic_empty_state.xml b/vector/src/main/res/layout/item_generic_empty_state.xml index 8b72f4e2e9..75456b2add 100644 --- a/vector/src/main/res/layout/item_generic_empty_state.xml +++ b/vector/src/main/res/layout/item_generic_empty_state.xml @@ -12,6 +12,7 @@ android:layout_height="wrap_content" android:layout_marginTop="20dp" android:layout_marginBottom="16dp" + android:importantForAccessibility="no" android:tint="?riotx_reaction_background_off" app:layout_constraintBottom_toTopOf="@id/emptyItemTitleView" app:layout_constraintEnd_toEndOf="parent"