fix account cell translation

This commit is contained in:
vivabelarus 2022-12-22 12:45:13 +03:00
parent f2358aa156
commit ee7d37865e
No known key found for this signature in database
GPG key ID: D8D8542F5B70C314

View file

@ -110,7 +110,6 @@ public class DrawerLayoutAdapter extends RecyclerListView.SelectionAdapter {
if (allAccountsShown == value || itemAnimator.isRunning()) {
return;
}
int oldAccountRowsCount = getAccountRowsCount();
allAccountsShown = value;
notifyDataSetChanged();
}
@ -221,6 +220,7 @@ public class DrawerLayoutAdapter extends RecyclerListView.SelectionAdapter {
case 4: {
DrawerUserCell drawerUserCell = (DrawerUserCell) holder.itemView;
drawerUserCell.setAccount(accountNumbers.get(position - 2));
drawerUserCell.setTranslationY(0.0f);
break;
}
}