Fixed phone label screen title

This commit is contained in:
Ilya Laktyushin 2019-07-30 11:59:35 +03:00
parent 1f83851c8d
commit a9119e69bb

View File

@ -114,7 +114,7 @@ public func phoneLabelController(context: AccountContext, currentLabel: String,
arguments.complete() arguments.complete()
}) })
let controllerState = ItemListControllerState(theme: presentationData.theme, title: .text(presentationData.strings.Notifications_TextTone), leftNavigationButton: leftNavigationButton, rightNavigationButton: rightNavigationButton, backNavigationButton: ItemListBackButton(title: presentationData.strings.Common_Back)) let controllerState = ItemListControllerState(theme: presentationData.theme, title: .text(presentationData.strings.PhoneLabel_Title), leftNavigationButton: leftNavigationButton, rightNavigationButton: rightNavigationButton, backNavigationButton: ItemListBackButton(title: presentationData.strings.Common_Back))
let listState = ItemListNodeState(entries: phoneLabelEntries(presentationData: presentationData, state: state), style: .blocks) let listState = ItemListNodeState(entries: phoneLabelEntries(presentationData: presentationData, state: state), style: .blocks)
return (controllerState, (listState, arguments)) return (controllerState, (listState, arguments))