mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-23 00:10:50 -04:00
Allows the two menu items "Ignore All Updates" and "Ignore This Update" to be checked and save the relevant preferences to the database in response. The old code waited until the activity was paused before saving the preferences to the database. This code does not, and as such incurs a database write on the main UI thread as soon as the user checks the menu items. However that database code has recently been refactored so it should be much more performant. If it turns out to still be problematic then we can revert to the old behaviour of hodling onto any state changes until onPause then persisting to the database.