feat: Fix loop uses sinceState instead of newSinceState, causing infinite loops.
This commit is contained in:
@@ -78,7 +78,7 @@ abstract class PushBaseController {
|
||||
.nonNulls
|
||||
.toList();
|
||||
|
||||
log('PushBaseController::mappingTypeStateToAction():listMailboxActions: $listEmailActions');
|
||||
log('PushBaseController::mappingTypeStateToAction():listMailboxActions: $listMailboxActions');
|
||||
|
||||
if (listMailboxActions.isNotEmpty) {
|
||||
mailboxChangeListener.dispatchActions(listMailboxActions);
|
||||
|
||||
@@ -11,11 +11,10 @@ class LabelChangeListener extends ChangeListener {
|
||||
LabelController? _labelController;
|
||||
|
||||
LabelChangeListener._internal() {
|
||||
try {
|
||||
_labelController = getBinding<LabelController>();
|
||||
} catch (e) {
|
||||
logError(
|
||||
'LabelChangeListener::_internal(): IS NOT REGISTERED: ${e.toString()}');
|
||||
_labelController = getBinding<LabelController>();
|
||||
if (_labelController == null) {
|
||||
logWarning(
|
||||
'LabelChangeListener::_internal(): LabelController IS NOT REGISTERED');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user