mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Prevent showing add to favorites and change preferred art except on Constructed editor
This commit is contained in:
@@ -805,6 +805,7 @@ public class FDeckEditor extends TabPageScreen<FDeckEditor> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (parentScreen.getEditorType() == EditorType.Constructed) {
|
||||||
//add option to add or remove card from favorites
|
//add option to add or remove card from favorites
|
||||||
final CardPreferences prefs = CardPreferences.getPrefs(card);
|
final CardPreferences prefs = CardPreferences.getPrefs(card);
|
||||||
if (prefs.getStarCount() == 0) {
|
if (prefs.getStarCount() == 0) {
|
||||||
@@ -857,6 +858,7 @@ public class FDeckEditor extends TabPageScreen<FDeckEditor> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protected static class DeckSectionPage extends CardManagerPage {
|
protected static class DeckSectionPage extends CardManagerPage {
|
||||||
private final String captionPrefix;
|
private final String captionPrefix;
|
||||||
|
|||||||
Reference in New Issue
Block a user