PR Review

This commit is contained in:
Benoit Marty 2020-09-29 16:10:54 +02:00
parent 11a4704161
commit 2def7f3910
2 changed files with 1 additions and 4 deletions

View File

@ -6,7 +6,7 @@ Features ✨:
Improvements 🙌: Improvements 🙌:
- PIN code: request PIN code if phone has been locked - PIN code: request PIN code if phone has been locked
- Small optimisation of scrolling experience in timeline - Small optimisation of scrolling experience in timeline (#2114)
Bugfix 🐛: Bugfix 🐛:
- Fix Splash layout on small screens - Fix Splash layout on small screens

View File

@ -381,9 +381,6 @@ class TimelineEventController @Inject constructor(private val dateFormatter: Vec
return shouldAdd return shouldAdd
} }
/**
* Return true if added
*/
private fun LoadingItem_.setVisibilityStateChangedListener(direction: Timeline.Direction): LoadingItem_ { private fun LoadingItem_.setVisibilityStateChangedListener(direction: Timeline.Direction): LoadingItem_ {
return onVisibilityStateChanged { _, _, visibilityState -> return onVisibilityStateChanged { _, _, visibilityState ->
if (visibilityState == VisibilityState.VISIBLE) { if (visibilityState == VisibilityState.VISIBLE) {