put gameover alert on backstack

This seems to do what I want: cause it to be dismissed whenever the
board fragment behind it (that launched it) goes away, e.g. because the
remote deleted first and local got a deleted-elsewhere-so-delete-here?
alert.
This commit is contained in:
Eric House 2021-03-19 18:04:52 -07:00
parent 073b5f6bf3
commit 521a5b57b8

View file

@ -128,6 +128,9 @@ public class GameOverAlert extends XWDialogFragment
@Override
protected String getFragTag() { return TAG; }
@Override
public boolean belongsOnBackStack() { return true; }
@Override
public void onClick( DialogInterface dialog, int which )
{