mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-05 23:51:00 +00:00
fix account cell translation
This commit is contained in:
parent
f2358aa156
commit
ee7d37865e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue