From e93810876c8365587fc3d55a96068cf28d80adcf Mon Sep 17 00:00:00 2001 From: Zukero Date: Tue, 14 Nov 2017 22:17:51 +0100 Subject: [PATCH] "More" action button presence in ItemInfoActivity corrected. --- AndorsTrail/src/com/gpl/rpg/AndorsTrail/Dialogs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AndorsTrail/src/com/gpl/rpg/AndorsTrail/Dialogs.java b/AndorsTrail/src/com/gpl/rpg/AndorsTrail/Dialogs.java index 08ddcef2c..e35bfa513 100644 --- a/AndorsTrail/src/com/gpl/rpg/AndorsTrail/Dialogs.java +++ b/AndorsTrail/src/com/gpl/rpg/AndorsTrail/Dialogs.java @@ -245,7 +245,7 @@ public final class Dialogs { Intent intent = new Intent(ctx, ItemInfoActivity.class); intent.putExtra("buttonText", buttonText); intent.putExtra("buttonEnabled", buttonEnabled); - intent.putExtra("moreActions", (actionType != ItemInfoActivity.ItemInfoAction.buy && actionType != ItemInfoActivity.ItemInfoAction.sell)); + intent.putExtra("moreActions", (actionType == ItemInfoActivity.ItemInfoAction.equip || actionType == ItemInfoActivity.ItemInfoAction.use)); intent.putExtra("itemTypeID", itemTypeID); intent.putExtra("actionType", actionType.name()); if (inventorySlot != null) intent.putExtra("inventorySlot", inventorySlot.name());