Browse Source

Fix showing empty placeholders in chatlist

master
morethanwords 3 years ago
parent
commit
b00f570caf
  1. 2
      src/lib/appManagers/appDialogsManager.ts

2
src/lib/appManagers/appDialogsManager.ts

@ -817,6 +817,8 @@ export class AppDialogsManager { @@ -817,6 +817,8 @@ export class AppDialogsManager {
await Promise.all(loadPromises).finally();
callbacks.forEach(callback => callback());
} else {
this.onListLengthChange();
}
const offsetDialog = result.dialogs[side === 'top' ? 0 : result.dialogs.length - 1];

Loading…
Cancel
Save