mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Fix bug that caused checkmarks not to update sometimes
This commit is contained in:
@@ -157,8 +157,7 @@ public class CheckmarkList
|
|||||||
final long day = DateUtils.millisecondsInOneDay;
|
final long day = DateUtils.millisecondsInOneDay;
|
||||||
|
|
||||||
Checkmark newestCheckmark = findNewest();
|
Checkmark newestCheckmark = findNewest();
|
||||||
if(newestCheckmark != null)
|
if(newestCheckmark != null) from = newestCheckmark.timestamp + day;
|
||||||
from = Math.max(from, newestCheckmark.timestamp + day);
|
|
||||||
|
|
||||||
if(from > to) return;
|
if(from > to) return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user