mirror of https://github.com/NekoX-Dev/NekoX.git
fix account
This commit is contained in:
parent
a7380ee9f2
commit
76b408ab98
|
@ -67,7 +67,7 @@ public class ImportingService extends Service implements NotificationCenter.Noti
|
|||
}
|
||||
|
||||
private boolean hasImportingStickers() {
|
||||
for (int a = 0; a < UserConfig.MAX_ACCOUNT_COUNT; a++) {
|
||||
for(int a : SharedConfig.activeAccounts){
|
||||
if (SendMessagesHelper.getInstance(a).isImportingStickers()) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.util.Arrays;
|
|||
public class UserConfig extends BaseController {
|
||||
|
||||
public static int selectedAccount;
|
||||
public final static int MAX_ACCOUNT_COUNT = 16;
|
||||
//public final static int MAX_ACCOUNT_COUNT = 16;
|
||||
|
||||
private final Object sync = new Object();
|
||||
private boolean configLoaded;
|
||||
|
|
Loading…
Reference in New Issue