Skip to content
Snippets Groups Projects
Commit 33b99734 authored by vjrj's avatar vjrj
Browse files

Notif fix

parent 35ce8453
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ class TransactionsCubit extends HydratedCubit<TransactionsAndBalanceState> {
final double? lastReceivedAmount = state.lastReceivedAmount;
// final DateTime? lastSent = transBalanceState.lastSent;
if (lastReceived != null &&
lastReceivedNotification.compareTo(lastReceived) == 1) {
lastReceived.compareTo(lastReceivedNotification) == 1) {
// Notify
emit(state.copyWith(lastReceivedNotif: lastReceived));
NotificationController.createNewNotification(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment