Skip to content

Commit

Permalink
Make sure ObservableDate::passed is tracked in all cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
testcodespaceerfer committed Sep 14, 2023
1 parent 1814a90 commit 58b4bb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tink/state/ObservableDate.hx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class ObservableDate implements ObservableObject<Bool> {
public var date(default, null):Date;
public var passed(get, never):Bool;
inline function get_passed():Bool
return _observable.getValue();
return observe().value;

public function canFire()
return passed;
return !_observable.getValue();

public function getRevision()
return _observable.getRevision();
Expand Down

0 comments on commit 58b4bb1

Please sign in to comment.