forked from GitHub-Mirror/riotX-android
Room : start to handle read markers. Only used when you open the room at the moment.
This commit is contained in:
@ -50,6 +50,7 @@ class RoomDetailViewModel(initialState: RoomDetailViewState,
|
||||
observeRoomSummary()
|
||||
observeTimeline()
|
||||
room.loadRoomMembersIfNeeded()
|
||||
room.markLatestAsRead(callback = object : MatrixCallback<Void> {})
|
||||
}
|
||||
|
||||
fun accept(action: RoomDetailActions) {
|
||||
|
@ -2,5 +2,5 @@
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
<solid android:color="@color/dark_grey" />
|
||||
<solid android:color="@color/grey_lynch" />
|
||||
</shape>
|
@ -52,7 +52,7 @@
|
||||
android:gravity="center"
|
||||
android:minWidth="24dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="10sp"
|
||||
android:textSize="12sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
@ -16,4 +16,5 @@
|
||||
<color name="cool_grey">#a5aab2</color>
|
||||
<color name="pale_grey_two">#ebedf8</color>
|
||||
<color name="brown_grey">#a5a5a5</color>
|
||||
<color name="grey_lynch">#61708B</color>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user