mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +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
|
||||
final CardPreferences prefs = CardPreferences.getPrefs(card);
|
||||
if (prefs.getStarCount() == 0) {
|
||||
@@ -857,6 +858,7 @@ public class FDeckEditor extends TabPageScreen<FDeckEditor> {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected static class DeckSectionPage extends CardManagerPage {
|
||||
private final String captionPrefix;
|
||||
|
||||
Reference in New Issue
Block a user