mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Calendar improvements
This commit is contained in:
@@ -983,6 +983,9 @@ final class PeerInfoHeaderNavigationButton: HighlightableButtonNode {
|
||||
text = presentationData.strings.Settings_EditPhoto
|
||||
case .editVideo:
|
||||
text = presentationData.strings.Settings_EditVideo
|
||||
case .calendar:
|
||||
text = ""
|
||||
icon = PresentationResourcesRootController.navigationCalendarIcon(presentationData.theme)
|
||||
}
|
||||
self.accessibilityLabel = text
|
||||
|
||||
@@ -1023,6 +1026,7 @@ enum PeerInfoHeaderNavigationButtonKey {
|
||||
case search
|
||||
case editPhoto
|
||||
case editVideo
|
||||
case calendar
|
||||
}
|
||||
|
||||
struct PeerInfoHeaderNavigationButtonSpec: Equatable {
|
||||
|
||||
Reference in New Issue
Block a user