Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

imprv: epoch check logic #148

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class BackgroundFetchConfigUseCase extends ReactiveUseCase {

int epochQuantity = epochNumber - lastEpoch;

if (expectedEpochOccurrence == epochQuantity) {
if (expectedEpochOccurrence <= epochQuantity) {
periodicalCallData = periodicalCallData.copyWith(lasEpoch: epochNumber);
AXSNotification().showNotification("Epoch Achievement Alert!",
"Congratulations! The anticipated epoch you've been waiting for has just occurred. It's a significant milestone. Let's take the next steps forward.,");
Expand Down
Loading