mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2025-01-27 05:10:37 +01:00
Fix accounts selecting when sharing
This commit is contained in:
parent
8154cf501b
commit
74fe32e2f8
@ -2523,8 +2523,8 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter.
|
|||||||
if (u != null) {
|
if (u != null) {
|
||||||
AccountSelectCell cell = new AccountSelectCell(context, false);
|
AccountSelectCell cell = new AccountSelectCell(context, false);
|
||||||
cell.setAccount(a, true);
|
cell.setAccount(a, true);
|
||||||
switchItem.addSubItem(10 + accounts, cell, AndroidUtilities.dp(230), AndroidUtilities.dp(48));
|
switchItem.addSubItem(10 + a, cell, AndroidUtilities.dp(230), AndroidUtilities.dp(48));
|
||||||
accounts++;
|
accounts = a > accounts + 1 ? a + 1 : accounts + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.accounts = accounts;
|
this.accounts = accounts;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user