Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/components/viewthread
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
..
edits Simplify repeated code that shows errors (#3762) 2023-06-19 23:49:20 +02:00
ConversationLineItemDecoration.kt fix ConversationLineItemDecoration (#2677) 2022-08-22 15:17:08 +02:00
ThreadAdapter.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
ViewThreadActivity.kt Add "Refresh" accessibility menu (#3121) 2023-03-01 19:58:18 +01:00
ViewThreadFragment.kt Simplify repeated code that shows errors (#3762) 2023-06-19 23:49:20 +02:00
ViewThreadViewModel.kt Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00