Tusky-App-Android/app
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
..
schemas/com.keylesspalace.tusky.db.AppDatabase only check once for filters v2 availability (#4539) 2024-07-03 21:18:09 +02:00
src fix updating filter expiration to indefinite (#4743) 2024-11-05 20:44:08 +01:00
build.gradle prepare release 26.2 (#4646) 2024-09-04 20:17:35 +02:00
getGitSha.gradle Previous attempt to fix git sha on non-git build broke git build. (#3322) 2023-02-16 20:20:52 +01:00
lint-baseline.xml fix new warnings, regenerate lint-baseline.xml (#4684) 2024-09-16 20:57:27 +02:00
lint.xml Fix some warnings & recreate lint-baseline.xml (#4278) 2024-02-25 16:20:26 +01:00
proguard-rules.pro Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00