Before we would not send `expires_in` when "indefinite" was selected. But that left the expiration at the value it was before. To actually set it to indefinite we need to send `expires_in`, but leave it empty. With a value class this was actually really nice to fix, the code now self-documents what the special values mean. Also fixes a regression from the Material 3 redesign where the filter duration drop down would not get populated when creating a filter. Found while working on https://github.com/tuskyapp/Tusky/pull/4742 |
||
|---|---|---|
| .. | ||
| androidTest/java/com/keylesspalace/tusky | ||
| blue/res | ||
| green/res | ||
| main | ||
| test/java | ||