diff --git a/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java b/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java index 90948ab41..b34e05ae3 100644 --- a/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java +++ b/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java @@ -687,7 +687,9 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm if (!ListUtils.isEmpty(savedList)) { String json = new Gson().toJson(savedList); toot.setUrls(json); - deleteMedia(setDifference(existingUris, savedList)); + if(!ListUtils.isEmpty(existingUris)) { + deleteMedia(setDifference(existingUris, savedList)); + } } else { return false; }