Refactor the dynamic timeline modifiers and make sure they fire in the right order

This commit is contained in:
Stefan Ceriu
2023-02-02 15:17:13 +02:00
committed by Stefan Ceriu
parent 49c41d8581
commit cbfd2d1cca
4 changed files with 45 additions and 39 deletions
@@ -39,7 +39,7 @@ enum HomeScreenViewAction {
case userMenu(action: HomeScreenViewUserMenuAction)
case verifySession
case skipSessionVerification
case updatedVisibleItemRange(Range<Int>)
case updateVisibleItemRange(range: Range<Int>, isScrolling: Bool)
}
enum HomeScreenRoomListMode: CustomStringConvertible {
@@ -91,8 +91,6 @@ struct HomeScreenViewState: BindableState {
struct HomeScreenViewStateBindings {
var searchQuery = ""
var isScrolling = false
var alertInfo: AlertInfo<UUID>?
}