|
|
|
@ -4306,12 +4306,18 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
|
Handler handler = new Handler(context.getMainLooper());
|
|
|
|
|
handler.post(new Runnable() {
|
|
|
|
|
public void run() {
|
|
|
|
|
int id;
|
|
|
|
|
if (action == R.id.action_undo)
|
|
|
|
|
ToastEx.makeText(getContext(), R.string.title_undo, Toast.LENGTH_LONG).show();
|
|
|
|
|
id = R.string.title_undo;
|
|
|
|
|
else if (action == R.id.action_redo)
|
|
|
|
|
ToastEx.makeText(getContext(), R.string.title_redo, Toast.LENGTH_LONG).show();
|
|
|
|
|
id = R.string.title_redo;
|
|
|
|
|
else
|
|
|
|
|
ToastEx.makeText(context, R.string.title_draft_saved, Toast.LENGTH_LONG).show();
|
|
|
|
|
id = R.string.title_draft_saved;
|
|
|
|
|
|
|
|
|
|
ToastEx.makeText(getContext(),
|
|
|
|
|
getString(id) +
|
|
|
|
|
(BuildConfig.DEBUG ? ":" + draft.revision : ""),
|
|
|
|
|
Toast.LENGTH_LONG).show();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|