Modernize quick reaction

This commit is contained in:
Isaac
2023-11-24 01:21:36 +04:00
parent 11b5940f07
commit b631780d00
27 changed files with 403 additions and 140 deletions

View File

@@ -218,6 +218,12 @@ public final class ReactionIconView: PortalSourceView {
disposable.dispose()
}
if !self.subviews.isEmpty {
for subview in Array(self.subviews) {
subview.removeFromSuperview()
}
}
self.context = nil
self.fileId = nil
self.file = nil