Clean files
This commit is contained in:
parent
90c472fef9
commit
0376de08f4
|
@ -122,5 +122,4 @@ interface Timeline {
|
||||||
*/
|
*/
|
||||||
BACKWARDS
|
BACKWARDS
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,4 +71,3 @@ internal fun isReadMarkerMoreRecent(monarchy: Monarchy,
|
||||||
eventToCheckIndex <= readMarkerIndex
|
eventToCheckIndex <= readMarkerIndex
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@ package im.vector.matrix.android.internal.session.room.read
|
||||||
|
|
||||||
import com.zhuinden.monarchy.Monarchy
|
import com.zhuinden.monarchy.Monarchy
|
||||||
import im.vector.matrix.android.api.session.events.model.LocalEcho
|
import im.vector.matrix.android.api.session.events.model.LocalEcho
|
||||||
import im.vector.matrix.android.internal.database.model.ReadMarkerEntity
|
|
||||||
import im.vector.matrix.android.internal.database.model.RoomSummaryEntity
|
import im.vector.matrix.android.internal.database.model.RoomSummaryEntity
|
||||||
import im.vector.matrix.android.internal.database.model.TimelineEventEntity
|
import im.vector.matrix.android.internal.database.model.TimelineEventEntity
|
||||||
import im.vector.matrix.android.internal.database.query.*
|
import im.vector.matrix.android.internal.database.query.*
|
||||||
|
|
|
@ -23,7 +23,6 @@ import android.util.AttributeSet
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.widget.RelativeLayout
|
import android.widget.RelativeLayout
|
||||||
import androidx.core.content.ContextCompat
|
import androidx.core.content.ContextCompat
|
||||||
import androidx.core.view.isInvisible
|
|
||||||
import im.vector.riotx.R
|
import im.vector.riotx.R
|
||||||
import kotlinx.android.synthetic.main.view_jump_to_read_marker.view.*
|
import kotlinx.android.synthetic.main.view_jump_to_read_marker.view.*
|
||||||
|
|
||||||
|
|
|
@ -829,7 +829,6 @@ class RoomDetailViewModel @AssistedInject constructor(@Assisted initialState: Ro
|
||||||
return UnreadState.HasNoUnread
|
return UnreadState.HasNoUnread
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private fun observeUnreadState() {
|
private fun observeUnreadState() {
|
||||||
selectSubscribe(RoomDetailViewState::unreadState) {
|
selectSubscribe(RoomDetailViewState::unreadState) {
|
||||||
Timber.v("Unread state: $it")
|
Timber.v("Unread state: $it")
|
||||||
|
|
|
@ -349,7 +349,6 @@ class TimelineEventController @Inject constructor(private val dateFormatter: Vec
|
||||||
) {
|
) {
|
||||||
fun shouldTriggerBuild(): Boolean {
|
fun shouldTriggerBuild(): Boolean {
|
||||||
return mergedHeaderModel != null || formattedDayModel != null
|
return mergedHeaderModel != null || formattedDayModel != null
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,6 @@ abstract class NoticeItem : BaseEventItem<NoticeItem.Holder>() {
|
||||||
attributes.readReceiptsCallback?.onReadReceiptsClicked(attributes.informationData.readReceipts)
|
attributes.readReceiptsCallback?.onReadReceiptsClicked(attributes.informationData.readReceipts)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
override fun bind(holder: Holder) {
|
override fun bind(holder: Holder) {
|
||||||
super.bind(holder)
|
super.bind(holder)
|
||||||
holder.noticeTextView.text = attributes.noticeText
|
holder.noticeTextView.text = attributes.noticeText
|
||||||
|
|
Loading…
Reference in New Issue