Support setting filter expirations (#2667)
* Show filter expiration in list * Add support for setting and updating the duration of a filter * Add tests for duration conversion math * Refactor network wrapper code * Mark updated mastodon api functions as suspend * Avoid creating unnecessary Date objects * Apply suggestions to filter dialog layout
This commit is contained in:
parent
9beea540de
commit
c47d9ef6ac
7 changed files with 197 additions and 100 deletions
|
|
@ -383,6 +383,7 @@
|
|||
<string name="filter_dialog_whole_word">Whole word</string>
|
||||
<string name="filter_dialog_whole_word_description">When the keyword or phrase is alphanumeric only, it will only be applied if it matches the whole word</string>
|
||||
<string name="filter_add_description">Phrase to filter</string>
|
||||
<string name="filter_expiration_format">%s (%s)</string>
|
||||
|
||||
<string name="add_account_name">Add Account</string>
|
||||
<string name="add_account_description">Add new Mastodon Account</string>
|
||||
|
|
@ -602,6 +603,7 @@
|
|||
<string name="duration_90_days">90 days</string>
|
||||
<string name="duration_180_days">180 days</string>
|
||||
<string name="duration_365_days">365 days</string>
|
||||
<string name="duration_no_change">(No change)</string>
|
||||
<string name="add_poll_choice">Add choice</string>
|
||||
<string name="poll_allow_multiple_choices">Multiple choices</string>
|
||||
<string name="poll_new_choice_hint">Choice %d</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue