mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Update API [skip ci]
This commit is contained in:
@@ -696,12 +696,7 @@ public func PeerNameColorScreen(
|
||||
emojiContent: emojiContent
|
||||
)
|
||||
|
||||
let title: ItemListControllerTitle
|
||||
if case .user = peer {
|
||||
title = .sectionControl([presentationData.strings.ProfileColorSetup_TitleName, presentationData.strings.ProfileColorSetup_TitleProfile], state.selectedTabIndex)
|
||||
} else {
|
||||
title = .text(presentationData.strings.ProfileColorSetup_TitleChannelColor)
|
||||
}
|
||||
let title: ItemListControllerTitle = .sectionControl([presentationData.strings.ProfileColorSetup_TitleName, presentationData.strings.ProfileColorSetup_TitleProfile], state.selectedTabIndex)
|
||||
|
||||
let controllerState = ItemListControllerState(
|
||||
presentationData: ItemListPresentationData(presentationData),
|
||||
|
||||
Reference in New Issue
Block a user