Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/components/account
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
..
list Simplify repeated code that shows errors (#3762) 2023-06-19 23:49:20 +02:00
media Simplify repeated code that shows errors (#3762) 2023-06-19 23:49:20 +02:00
AccountActivity.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
AccountFieldAdapter.kt Remove Identity Proof Support (#2456) 2022-04-27 19:58:39 +02:00
AccountPagerAdapter.kt AccountMediaFragment improvements (#2684) 2022-09-02 16:52:47 +02:00
AccountViewModel.kt Do not crash on empty relationship response 2023-04-05 10:54:03 +02:00