mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Update to card view of decks so long-press opens deck viewer to be consistent with list view
This commit is contained in:
@@ -72,4 +72,8 @@ public class CardThemedDeckGenerator extends DeckProxy implements Comparable<Car
|
|||||||
return cards.get(cards.size()-1).getImageKey(altState);*/
|
return cards.get(cards.size()-1).getImageKey(altState);*/
|
||||||
return FModel.getMagicDb().getCommonCards().getUniqueByName(name).getImageKey(altState);
|
return FModel.getMagicDb().getCommonCards().getUniqueByName(name).getImageKey(altState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public PaperCard getPaperCard(){
|
||||||
|
return FModel.getMagicDb().getCommonCards().getUniqueByName(name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -100,4 +100,8 @@ public class CommanderDeckGenerator extends DeckProxy implements Comparable<Comm
|
|||||||
public String getImageKey(boolean altState) {
|
public String getImageKey(boolean altState) {
|
||||||
return legend.getImageKey(altState);
|
return legend.getImageKey(altState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public PaperCard getPaperCard(){
|
||||||
|
return legend;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user