|
|
@ -474,7 +474,6 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm |
|
|
|
for (QueuedMedia item : mediaQueued) { |
|
|
|
for (QueuedMedia item : mediaQueued) { |
|
|
|
savedMediaQueued.add(new SavedQueuedMedia(item.type, item.uri, item.preview, |
|
|
|
savedMediaQueued.add(new SavedQueuedMedia(item.type, item.uri, item.preview, |
|
|
|
item.mediaSize)); |
|
|
|
item.mediaSize)); |
|
|
|
removeUrlFromEditable(textEditor.getEditableText(), item.uploadUrl); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
outState.putParcelableArrayList("savedMediaQueued", savedMediaQueued); |
|
|
|
outState.putParcelableArrayList("savedMediaQueued", savedMediaQueued); |
|
|
|
outState.putBoolean("showMarkSensitive", showMarkSensitive); |
|
|
|
outState.putBoolean("showMarkSensitive", showMarkSensitive); |
|
|
@ -493,7 +492,7 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void doErrorDialog(@StringRes int descriptionId, @StringRes int actionId, |
|
|
|
private void doErrorDialog(@StringRes int descriptionId, @StringRes int actionId, |
|
|
|
View.OnClickListener listener) { |
|
|
|
View.OnClickListener listener) { |
|
|
|
Snackbar bar = Snackbar.make(findViewById(R.id.activity_compose), getString(descriptionId), |
|
|
|
Snackbar bar = Snackbar.make(findViewById(R.id.activity_compose), getString(descriptionId), |
|
|
|
Snackbar.LENGTH_SHORT); |
|
|
|
Snackbar.LENGTH_SHORT); |
|
|
|
bar.setAction(actionId, listener); |
|
|
|
bar.setAction(actionId, listener); |
|
|
|