Prompt the user before deleting a filter

Prevent users from accidentally deleting filters by prompting them to confirm.

Add an AlertDialog extension that converts AlertDialog callbacks to linear control flow.

Fixes #3736.
This commit is contained in:
Martin Marconcini 2023-08-17 22:26:46 +02:00 committed by GitHub
commit 85f0b1f320
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 106 additions and 2 deletions

View file

@ -818,4 +818,6 @@
<string name="about_copy">Copy version and device information</string>
<string name="about_copied">Copied version and device information</string>
<string name="error_media_playback">Playback failed: %s</string>
<string name="dialog_delete_filter_text">Delete filter \'%1$s\'?"</string>
<string name="dialog_delete_filter_positive_action">Delete</string>
</resources>