Various improvements

This commit is contained in:
Ilya Laktyushin
2024-11-15 00:48:41 +04:00
parent 40080bbe1f
commit 490d0f8ea7
13 changed files with 289 additions and 170 deletions

View File

@@ -1792,8 +1792,7 @@ private final class PeersCountPanelNode: ASDisplayNode {
var count: Int = 0 {
didSet {
if self.count != oldValue && self.count > 0 {
//TODO:localize
self.button.title = "Send"
self.button.title = self.strings.ShareMenu_Send
self.button.badge = "\(self.count)"
if let (width, sideInset, bottomInset) = self.validLayout {