diff --git a/android/dushanbe/GetLastTransactionsScript.cpp b/android/dushanbe/GetLastTransactionsScript.cpp index 4c812c4..5f8d97c 100644 --- a/android/dushanbe/GetLastTransactionsScript.cpp +++ b/android/dushanbe/GetLastTransactionsScript.cpp @@ -990,22 +990,23 @@ GetLastTransactionsScript::SearchResult GetLastTransactionsScript::searchOne( // окно today+yesterday полностью проскроллено, дальше только старая история. // Прекращаем скролл (целевой транзакции в окне нет), вместо того чтобы // листать до упора и упереться в watchdog-таймаут. - { - const QDate cutoff = todayLocal.addDays(-1); // вчера - QDate newestVisible; - for (const QString &gd : groupDates) { - const QDate d = QDate::fromString(gd, "dd.MM.yyyy"); - if (d.isValid() && (newestVisible.isNull() || d > newestVisible)) - newestVisible = d; - } - if (newestVisible.isValid() && newestVisible < cutoff) { - qDebug() << "[Dushanbe::GetLastTransactions] Past today+yesterday window" - " (newest visible=" << newestVisible.toString("dd.MM.yyyy") - << "< cutoff=" << cutoff.toString("dd.MM.yyyy") - << ") — stopping scroll"; - return SearchResult::PastWindow; - } - } + // NOTE: окно "сегодня+вчера" временно отключено — скроллим без ограничения по дате. + // { + // const QDate cutoff = todayLocal.addDays(-1); // вчера + // QDate newestVisible; + // for (const QString &gd : groupDates) { + // const QDate d = QDate::fromString(gd, "dd.MM.yyyy"); + // if (d.isValid() && (newestVisible.isNull() || d > newestVisible)) + // newestVisible = d; + // } + // if (newestVisible.isValid() && newestVisible < cutoff) { + // qDebug() << "[Dushanbe::GetLastTransactions] Past today+yesterday window" + // " (newest visible=" << newestVisible.toString("dd.MM.yyyy") + // << "< cutoff=" << cutoff.toString("dd.MM.yyyy") + // << ") — stopping scroll"; + // return SearchResult::PastWindow; + // } + // } // Скроллим вниз — свайп внутри области транзакций if (scroll < maxScrolls) {