diff --git a/app/src/main/java/app/fedilab/android/activities/ComposeActivity.java b/app/src/main/java/app/fedilab/android/activities/ComposeActivity.java index 3ab1657bb..0b228b8f2 100644 --- a/app/src/main/java/app/fedilab/android/activities/ComposeActivity.java +++ b/app/src/main/java/app/fedilab/android/activities/ComposeActivity.java @@ -386,7 +386,9 @@ public class ComposeActivity extends BaseActivity implements ComposeAdapter.Mana }); } else { - composeAdapter.addSharing(null, null, sharedDescription, null, sharedContent, null); + if (composeAdapter != null) { + composeAdapter.addSharing(null, null, sharedDescription, null, sharedContent, null); + } } }