[Mobile] Added Deckbox and Commander Background for ImageView

- updated Assets required!
This commit is contained in:
Anthony Calosa
2020-10-11 14:18:21 +08:00
parent 35a4316261
commit 688fad9023
7 changed files with 120 additions and 18 deletions

View File

@@ -63,6 +63,7 @@ public class FDeckChooser extends FScreen {
private Callback<Deck> callback;
private NetDeckCategory netDeckCategory;
private boolean refreshingDeckType;
private boolean firstactivation = true;
private final DeckManager lstDecks;
private final FButton btnNewDeck = new FButton(Localizer.getInstance().getMessage("lblNewDeck"));
@@ -226,6 +227,11 @@ public class FDeckChooser extends FScreen {
@Override
public void onActivate() {
//todo investigate why if we don't override, it will display blank for deckview when first activated
if(isAi() && firstactivation) {
needRefreshOnActivate = true;
firstactivation = false;
}
if (needRefreshOnActivate) {
needRefreshOnActivate = false;
refreshDecksList(selectedDeckType, true, null);