Fix stats message context menu style

This commit is contained in:
Ilya Laktyushin 2023-12-03 18:48:07 +04:00
parent 7826d4fa27
commit f8baf6d69b

View File

@ -549,7 +549,7 @@ public func messageStatsController(context: AccountContext, updatedPresentationD
return
}
let presentationData = context.sharedContext.currentPresentationData.with { $0 }
let presentationData = updatedPresentationData?.initial ?? context.sharedContext.currentPresentationData.with { $0 }
var items: [ContextMenuItem] = []