Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/components
Nik Clayton 81f725667e
Show better errors when loading notifications fails (#3448)
* Show better errors with notification loading fails

The errors are returned as a JSON object, parse it, and show the error
message it contains.

Handle the cases where there might be no error message, or the JSON may be
malformed.

Add tests.

Fixes #3445

* Lint
2023-03-18 10:25:41 +01:00
..
account Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
accountlist update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
announcements update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
compose update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
conversation Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
drafts update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
filters update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
followedtags update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
instanceinfo fix caching of instance defaults and emojis (#2643) 2022-08-07 22:18:53 +02:00
instancemute Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
login update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
notifications Show better errors when loading notifications fails (#3448) 2023-03-18 10:25:41 +01:00
preference Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
report Show toot stat inline (#3413) 2023-03-18 08:57:26 +01:00
scheduled Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
search Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
timeline Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
trending Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
viewthread Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00