This commit is contained in:
2026-02-02 15:28:00 +08:00
parent ea9c40f64f
commit 0ac9030f80
3 changed files with 16 additions and 2 deletions

View File

@@ -159,6 +159,16 @@
}
}
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
for (NSIndexPath *indexPath in self.collectionView.indexPathsForVisibleItems) {
KBPersonaChatCell *cell = (KBPersonaChatCell *)[self.collectionView cellForItemAtIndexPath:indexPath];
if (cell) {
[cell onResignedCurrentPersonaCell];
}
}
}
- (void)viewDidLayoutSubviews {
[super viewDidLayoutSubviews];
if (self.bottomMaskLayer) {