mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-05 23:51:00 +00:00
fix single account hidden
This commit is contained in:
parent
b2aff86989
commit
ca80bfb5cb
1 changed files with 2 additions and 2 deletions
|
|
@ -393,11 +393,11 @@ public class FakePasscode {
|
|||
}
|
||||
|
||||
private void checkSingleAccountHidden() {
|
||||
if (UserConfig.getActivatedAccountsCount(true) == 1 && getHideOrLogOutCount() == 1) {
|
||||
if (UserConfig.getActivatedAccountsCount(true) == 1 && getHideAccountCount() == 1) {
|
||||
for (int a = 0; a < UserConfig.MAX_ACCOUNT_COUNT; a++) {
|
||||
if (AccountInstance.getInstance(a).getUserConfig().isClientActivated()) {
|
||||
AccountActions accountActions = getAccountActions(a);
|
||||
if (accountActions != null) {
|
||||
if (accountActions != null && accountActions.isHideAccount()) {
|
||||
accountActions.toggleHideAccountAction();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue