🐛 Fix loading indicator not hiding on first time load

This commit is contained in:
2025-03-04 21:20:54 +08:00
parent 76d8cd943d
commit cdaa8cfe58
2 changed files with 8 additions and 8 deletions

View File

@ -357,6 +357,7 @@ class ChatMessageController extends ChangeNotifier {
if (mostRecentMessage == null) {
// Initial load
await loadMessages(take: 20);
isAggressiveLoading = false;
isCheckedUpdate = true;
return;
}