chinwag-android/app/src
Konrad Pozniak e758321866
fix updating filter expiration to indefinite (#4743)
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
2024-11-05 20:44:08 +01:00
..
androidTest/java/com/keylesspalace/tusky Fix various lint warnings (#4409) 2024-05-05 08:34:41 +02:00
blue/res new app icon (#2695) 2022-09-13 19:48:09 +02:00
green/res Enforce lint cleanliness when building (#3363) 2023-03-13 10:23:42 +01:00
main fix updating filter expiration to indefinite (#4743) 2024-11-05 20:44:08 +01:00
test/java fix updating filter expiration to indefinite (#4743) 2024-11-05 20:44:08 +01:00