Various improvements

This commit is contained in:
Ilya Laktyushin
2025-01-27 23:44:07 +04:00
parent 6bf08c72ad
commit 10ac25e1cb
42 changed files with 1966 additions and 1095 deletions

View File

@@ -67,7 +67,7 @@ final class ContactSelectionControllerNode: ASDisplayNode {
var excludeSelf = true
let displayTopPeers: ContactListPresentation.TopPeers
if case let .starsGifting(birthdays, hasActions, showSelf) = mode {
if case let .starsGifting(birthdays, hasActions, showSelf, selfSubtitle) = mode {
if showSelf {
excludeSelf = false
}
@@ -98,7 +98,7 @@ final class ContactSelectionControllerNode: ASDisplayNode {
sections.append((presentationData.strings.Premium_Gift_ContactSelection_BirthdayTomorrow, tomorrowPeers, hasActions))
}
displayTopPeers = .custom(showSelf: showSelf, sections: sections)
displayTopPeers = .custom(showSelf: showSelf, selfSubtitle: selfSubtitle, sections: sections)
} else {
displayTopPeers = .recent
}