mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Remove the createSpan method entirely
As it's easier to live without it than to deal with the API redesign or or misuse panics.
This commit is contained in:
@@ -99,12 +99,6 @@ class TimelineItemProvider: TimelineItemProviderProtocol {
|
||||
private static func processDiffs(_ diffs: [TimelineDiff],
|
||||
on currentItems: [TimelineItemProxy],
|
||||
spanName: String) async -> (itemProxies: [TimelineItemProxy], hasMembershipChange: Bool) {
|
||||
let span = MXLog.createSpan(spanName)
|
||||
span.enter()
|
||||
defer {
|
||||
span.exit()
|
||||
}
|
||||
|
||||
var hasMembershipChange = false
|
||||
|
||||
let itemProxies = diffs.reduce(currentItems) { currentItems, diff in
|
||||
|
||||
Reference in New Issue
Block a user