Prevent stray taps from accidentally cancelling loot windows and the permadeath "Game Over" screen

This commit is contained in:
Nathan Watson
2020-09-20 09:29:37 -07:00
parent 5bc08762a9
commit 61966ab7e2

View File

@@ -202,7 +202,8 @@ public final class Dialogs {
mainActivity.getResources().getDrawable(R.drawable.ui_icon_equipment),
msg,
combinedLoot.items.isEmpty() ? null : itemList,
true);
true,
false);
itemList.setOnItemClickListener(new OnItemClickListener() {
@Override
@@ -255,7 +256,8 @@ public final class Dialogs {
mainActivity.getResources().getDrawable(R.drawable.ui_icon_combat),
mainActivity.getResources().getString(R.string.dialog_game_over_text),
null,
true);
true,
false);
CustomDialogFactory.addDismissButton(d, android.R.string.ok);