mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 01:45:52 +03:00
Adds content description to space chevrons
This commit is contained in:
parent
4c404ca4ce
commit
8892fac062
4 changed files with 5 additions and 3 deletions
|
@ -135,7 +135,8 @@ class NewSpaceSummaryController @Inject constructor(
|
|||
val countState = UnreadCounterBadgeView.State(childSummary.notificationCount, childSummary.highlightCount > 0)
|
||||
val expanded = expandedStates[childSummary.roomId] == true
|
||||
val isSelected = childSummary.roomId == selectedSpace?.roomId
|
||||
val subSpaces = childSummary.spaceChildren?.filter { childSpace -> spaceSummaries.containsSpaceId(childSpace.childRoomId) }?.sortedWith(subSpaceComparator)
|
||||
val subSpaces = childSummary.spaceChildren?.filter { childSpace -> spaceSummaries.containsSpaceId(childSpace.childRoomId) }
|
||||
?.sortedWith(subSpaceComparator)
|
||||
|
||||
newSubSpaceSummaryItem {
|
||||
id(id)
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
android:layout_height="48dp"
|
||||
android:layout_marginEnd="21dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:importantForAccessibility="no"
|
||||
android:contentDescription="@string/a11y_expand_space_children"
|
||||
android:scaleType="centerInside"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
android:layout_height="32dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:importantForAccessibility="no"
|
||||
android:contentDescription="@string/a11y_expand_space_children"
|
||||
android:scaleType="centerInside"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
|
@ -141,6 +141,7 @@
|
|||
<string name="create_room">Create Room</string>
|
||||
<string name="change_space">Change Space</string>
|
||||
<string name="explore_rooms">Explore Rooms</string>
|
||||
<string name="a11y_expand_space_children">Expand space children</string>
|
||||
|
||||
<!-- Last seen time -->
|
||||
|
||||
|
|
Loading…
Reference in a new issue