mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-17 04:20:00 +03:00
Fix coding style
This commit is contained in:
parent
30c6518630
commit
20749e04cb
2 changed files with 8 additions and 7 deletions
|
@ -397,7 +397,10 @@ class RoomListSectionBuilderSpace(
|
|||
.launchIn(viewModelScope)
|
||||
|
||||
val itemCountFlow = livePagedList.asFlow()
|
||||
.flatMapLatest { session.getRoomCountFlow(roomQueryParams.process(spaceFilterStrategy, appStateHandler.safeActiveSpaceId())) }
|
||||
.flatMapLatest {
|
||||
val queryParams = roomQueryParams.process(spaceFilterStrategy, appStateHandler.safeActiveSpaceId())
|
||||
session.getRoomCountFlow(queryParams)
|
||||
}
|
||||
|
||||
sections.add(
|
||||
RoomsSection(
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
android:maxLines="1"
|
||||
android:textAllCaps="true"
|
||||
android:textColor="?vctr_content_primary"
|
||||
android:textStyle="normal"
|
||||
app:layout_constraintEnd_toStartOf="@id/roomCategoryCounterView"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
|
@ -43,12 +42,11 @@
|
|||
android:gravity="center_vertical"
|
||||
android:maxLines="1"
|
||||
android:textColor="?vctr_content_secondary"
|
||||
android:textStyle="normal"
|
||||
app:drawableTint="?vctr_content_secondary"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/roomCategoryTitleView"
|
||||
app:layout_constraintBottom_toBottomOf="@id/roomCategoryTitleView"
|
||||
app:layout_constraintEnd_toStartOf="@id/roomCategoryUnreadCounterBadgeView"
|
||||
app:layout_constraintStart_toEndOf="@id/roomCategoryTitleView"
|
||||
app:layout_constraintTop_toTopOf="@+id/roomCategoryTitleView"
|
||||
app:layout_constraintTop_toTopOf="@id/roomCategoryTitleView"
|
||||
app:layout_constraintWidth="wrap_content_constrained"
|
||||
tools:drawableEnd="@drawable/ic_expand_more"
|
||||
tools:text="14" />
|
||||
|
@ -63,9 +61,9 @@
|
|||
android:minHeight="16dp"
|
||||
android:paddingHorizontal="4dp"
|
||||
android:textColor="?colorOnError"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/roomCategoryTitleView"
|
||||
app:layout_constraintBottom_toBottomOf="@id/roomCategoryTitleView"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/roomCategoryTitleView"
|
||||
app:layout_constraintTop_toTopOf="@id/roomCategoryTitleView"
|
||||
tools:background="@drawable/bg_unread_highlight"
|
||||
tools:text="24" />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue