Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/components/instancemute
Nik Clayton 153a9ad9c2
Simplify repeated code that shows errors (#3762)
Instead of repeating the same if/else check on the error type when setting up the background message, move this in to BackgroundMessageView.

Provide different `setup()` variants, including one that just takes a throwable and a handler, and figures out the correct drawables and error message.

Update and simplify call sites.
2023-06-19 23:49:20 +02:00
..
adapter update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
fragment Simplify repeated code that shows errors (#3762) 2023-06-19 23:49:20 +02:00
interfaces add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
InstanceListActivity.kt Fix toolbar for instance list activity. (#2248) 2021-09-28 19:55:30 +02:00