Remove change language link for secondary account.

This commit is contained in:
John Preston 2020-06-29 22:17:47 +04:00
parent 90f7f482ee
commit 711fcc2e11

View File

@ -220,7 +220,8 @@ void Widget::handleUpdate(const MTPUpdate &update) {
}
void Widget::createLanguageLink() {
if (_changeLanguage) {
if (_changeLanguage
|| Core::App().domain().maybeLastOrSomeAuthedAccount()) {
return;
}