mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Remove change language link for secondary account.
This commit is contained in:
parent
90f7f482ee
commit
711fcc2e11
1 changed files with 2 additions and 1 deletions
|
@ -220,7 +220,8 @@ void Widget::handleUpdate(const MTPUpdate &update) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Widget::createLanguageLink() {
|
void Widget::createLanguageLink() {
|
||||||
if (_changeLanguage) {
|
if (_changeLanguage
|
||||||
|
|| Core::App().domain().maybeLastOrSomeAuthedAccount()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue