mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
A bunch of random tweaks. (#3317)
- Fix warning on single case enum. - Remove unused subjects. - Fix a lint warning. - Remove unused success value. - Fix warning about position of try await. - Add a note about the common tracing configuration. - Show an indicator when resolving a send failure fails. - Make sure the whole row is clickable in the GlobalSearchScreen.
This commit is contained in:
@@ -130,9 +130,9 @@ final class TimelineProxy: TimelineProxyProtocol {
|
||||
subject.send(.paginating)
|
||||
|
||||
do {
|
||||
let timelineEndReached = try await switch direction {
|
||||
case .backwards: timeline.paginateBackwards(numEvents: requestSize)
|
||||
case .forwards: timeline.focusedPaginateForwards(numEvents: requestSize)
|
||||
let timelineEndReached = switch direction {
|
||||
case .backwards: try await timeline.paginateBackwards(numEvents: requestSize)
|
||||
case .forwards: try await timeline.focusedPaginateForwards(numEvents: requestSize)
|
||||
}
|
||||
MXLog.info("Finished paginating \(direction.rawValue)")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user