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() {
|
private boolean hasImportingStickers() {
|
||||||
for (int a = 0; a < UserConfig.MAX_ACCOUNT_COUNT; a++) {
|
for(int a : SharedConfig.activeAccounts){
|
||||||
if (SendMessagesHelper.getInstance(a).isImportingStickers()) {
|
if (SendMessagesHelper.getInstance(a).isImportingStickers()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ import java.util.Arrays;
|
||||||
public class UserConfig extends BaseController {
|
public class UserConfig extends BaseController {
|
||||||
|
|
||||||
public static int selectedAccount;
|
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 final Object sync = new Object();
|
||||||
private boolean configLoaded;
|
private boolean configLoaded;
|
||||||
|
|
Loading…
Reference in New Issue