chinwag-android/app/src/test/java/com/keylesspalace/tusky
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
..
components Show better errors when loading notifications fails (#3448) 2023-03-18 10:25:41 +01:00
db update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
entity 2952/proxy (#2961) 2022-12-07 19:29:18 +01:00
json use custom JsonAdapter to be compatible with instances that have a custom subscribing feature (#2298) 2022-01-21 07:34:26 +01:00
network update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
usecase Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
util Show toot stat inline (#3413) 2023-03-18 08:57:26 +01:00
BottomSheetActivityTest.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
FilterV1Test.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
FocalPointUtilTest.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
MainActivityTest.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
SpanUtilsTest.kt Ignore "@instance..." part of username when computing status length (#3392) 2023-03-13 10:22:33 +01:00
StatusComparisonTest.kt move Html parsing to ViewData (#2414) 2022-04-15 13:20:27 +02:00
StringUtilsTest.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
TuskyApplication.kt support Android 13 per-app languages (#2829) 2022-11-16 19:45:18 +01:00