Fixes URLs being deleted erroneously when multiple images are added in the composer.

main
Vavassor 7 years ago
parent b6291b8004
commit 0c962144c5
  1. 1
      app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java

@ -474,7 +474,6 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm
for (QueuedMedia item : mediaQueued) {
savedMediaQueued.add(new SavedQueuedMedia(item.type, item.uri, item.preview,
item.mediaSize));
removeUrlFromEditable(textEditor.getEditableText(), item.uploadUrl);
}
outState.putParcelableArrayList("savedMediaQueued", savedMediaQueued);
outState.putBoolean("showMarkSensitive", showMarkSensitive);

Loading…
Cancel
Save