[DeckList] Move metadata into struct (#6380)

* [DeckList] Move metadata into struct

* wipe metadata if preserveMetadata is false
This commit is contained in:
RickyRister 2025-11-30 04:09:09 -08:00 committed by GitHub
parent d57bec8ec6
commit 3ff2df2796
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 76 additions and 44 deletions

View file

@ -19,6 +19,11 @@ struct CardRef
{
return name == other.name && providerId == other.providerId;
}
bool isEmpty() const
{
return name.isEmpty() && providerId.isEmpty();
}
};
#endif // CARD_REF_H