element-x-ada/tests/detekt-rules
Jorge Martin Espinosa 8245ad8bc3
Handle preference stores corruption by clearing them (#5086)
* Handle preference stores corruption by clearing them:
    - Use the centralised `PreferenceDataStoreFactory` instead of `preferences by`.
    - Add `DefaultPreferencesCorruptionHandlerFactory.replaceWithEmpty` to its `create(name)` method so all preference stores are cleared if they're corrupted.

* Add detekt rule to make sure we use `PreferenceDataStoreFactory` instead of `by preferencesDataStore`

* Remove `@SingleIn` annotations as the annotated class no longer have to be singletons
2025-08-22 06:59:06 +00:00
..
src Handle preference stores corruption by clearing them (#5086) 2025-08-22 06:59:06 +00:00
.gitignore Add catchingExceptions method to replace runCatching (#4797) 2025-06-04 09:02:26 +02:00
build.gradle.kts Add catchingExceptions method to replace runCatching (#4797) 2025-06-04 09:02:26 +02:00