mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Reload thread data source without notifying the screen
This commit is contained in:
@@ -973,6 +973,13 @@ const CGFloat kTypingCellHeight = 24;
|
||||
// no need to reload when paginating back
|
||||
return;
|
||||
}
|
||||
|
||||
BOOL notify = YES;
|
||||
if (self.threadId)
|
||||
{
|
||||
// no need to notify the thread screen, it'll cause a flickering
|
||||
notify = NO;
|
||||
}
|
||||
NSUInteger count = 0;
|
||||
@synchronized (bubbles)
|
||||
{
|
||||
@@ -980,7 +987,7 @@ const CGFloat kTypingCellHeight = 24;
|
||||
}
|
||||
if (count > 0)
|
||||
{
|
||||
[self reload];
|
||||
[self reloadNotifying:notify];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user