1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-24 16:53:37 +00:00

Mark undone

This commit is contained in:
M66B 2019-06-23 10:06:07 +02:00
parent 24126504a6
commit 639c7b3d62

View file

@ -3238,6 +3238,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
@Override
public void onClick(View v) {
snackbar.dismiss();
snackbar.getView().setTag(true);
Bundle args = new Bundle();
args.putParcelableArrayList("result", result);
@ -3272,6 +3273,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
public void run() {
Log.i("Move timeout");
if (snackbar.getView().getTag() != null)
return;
// Remove snackbar
if (snackbar.isShown())
snackbar.dismiss();