Commit 501fa49
committed
fix(panchang): Abhijit Muhurta is null on Wednesdays and the screen assumed it never was
The field is typed object-or-null because Abhijit coincides with Dur
Muhurta on Wednesdays per Muhurta Chintamani, so reading .start off it
threw one day in seven. Render the window when present and say plainly
when there is none, rather than printing a broken range.
Caught by the typecheck on a routine SDK bump, which is the generated
client correctly reporting a nullability the screen never handled.1 parent 4848947 commit 501fa49
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
128 | 129 | | |
129 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
0 commit comments