chore: Better applifecycle logs

This commit is contained in:
krille-chan 2023-12-26 13:57:40 +01:00
commit a5a1c9b580
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -424,6 +424,7 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
if (PlatformInfos.isMobile) {
client.backgroundSync = foreground;
client.requestHistoryOnLimitedTimeline = !foreground;
Logs().v('Set background sync to', foreground);
}
}