Commit baa0902
committed
fix NPE in ConversationCreationActivity
also avoid not nullable spreedCapabilities elsewhere in this class.
It may not solve the root cause and may lead to unexpected behavior but at least will not crash.
java.lang.NullPointerException
at com.nextcloud.talk.conversationcreation.ConversationCreationActivityKt.ConversationCreationScreen$lambda$5(ConversationCreationActivity.kt:230)
at com.nextcloud.talk.conversationcreation.ConversationCreationActivityKt$$ExternalSyntheticLambda29.invoke(D8$$SyntheticClass:0)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:131)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:52)
at androidx.compose.material3.ScaffoldKt$ScaffoldLayout$bodyContent$1$1.invoke(Scaffold.kt:163)
at androidx.compose.material3.ScaffoldKt$ScaffoldLayout$bodyContent$1$1.invoke(Scaffold.kt:163)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>1 parent a43b9d2 commit baa0902
2 files changed
Lines changed: 5 additions & 5 deletions
File tree
- app/src/main/java/com/nextcloud/talk
- conversationcreation
- utils
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
| 372 | + | |
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
0 commit comments