mirror of https://github.com/M66B/FairEmail.git
Added revision debugging
This commit is contained in:
parent
fa28121df9
commit
36c67c8711
|
@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue