chinwag-android/app/src/main/java/com/keylesspalace/tusky/components
Konrad Pozniak d66866648e
improve null safety of instance info (#4226)
according to crash logs there are seem to be some instances that don't
always return the expected json, so lets be extra safe here

```
Exception java.lang.NullPointerException:
  at com.keylesspalace.tusky.components.instanceinfo.InstanceInfoRepository$getInstanceInfo$2.invokeSuspend (InstanceInfoRepository.kt:67)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:108)
  at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run (LimitedDispatcher.java:115)
  at kotlinx.coroutines.scheduling.TaskImpl.run (Tasks.kt:103)
  at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely (CoroutineScheduler.java:584)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask (CoroutineScheduler.kt:793)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker (CoroutineScheduler.kt:697)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run (CoroutineScheduler.kt:684)
```
2024-01-28 19:08:44 +01:00
..
account upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
accountlist upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
announcements upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
compose upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
conversation upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
domainblocks upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
drafts upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
filters upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
followedtags upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
instanceinfo improve null safety of instance info (#4226) 2024-01-28 19:08:44 +01:00
login improve null safety of instance info (#4226) 2024-01-28 19:08:44 +01:00
notifications upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
preference bring back the notification filter preference (#4225) 2024-01-28 19:07:29 +01:00
report upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
scheduled upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
search upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
timeline upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
trending upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
viewthread upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00