Web app improvements

This commit is contained in:
Ilya Laktyushin
2022-03-25 21:05:21 +04:00
parent befb570fa7
commit e47610f036
4 changed files with 288 additions and 4 deletions

View File

@@ -95,6 +95,10 @@ private final class WebAppAlertContentNode: AlertContentNode {
})
}
deinit {
self.iconDisposable?.dispose()
}
override func updateTheme(_ theme: AlertControllerTheme) {
self.textNode.attributedText = NSAttributedString(string: strings.WebApp_AddToAttachmentText(self.peerName).string, font: Font.bold(17.0), textColor: theme.primaryColor, paragraphAlignment: .center)