Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-06-11 03:22:13 +03:00
parent 4d952b97d0
commit 8d0f3b86ea
4 changed files with 13 additions and 5 deletions

View File

@@ -365,6 +365,10 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
strongSelf.navigationItem.setLeftBarButton(editItem, animated: true)
}
}
} else {
let editItem = UIBarButtonItem(title: strongSelf.presentationData.strings.Common_Edit, style: .plain, target: self, action: #selector(strongSelf.editPressed))
editItem.accessibilityLabel = strongSelf.presentationData.strings.Common_Edit
strongSelf.navigationItem.setRightBarButton(editItem, animated: true)
}
let (hasProxy, connectsViaProxy) = proxy