mirror of
https://github.com/pachli/pachli-android.git
synced 2025-01-25 13:38:45 +01:00
9e0a1f4015
Previous code expected callers to typically provide the drawable and the error message string resource, resulting in duplicate code at many callsites. Replace with three canned messages for empty containers, generic errors, and network errors respectively. The images for these are fixed, the caller may choose a different string resource for the error if there is a more specific option. Update and simplify the call sites.