fix: do not display managed pack page for providers without an impl. yet

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-11-11 16:58:37 -03:00
parent 25cfa26e7b
commit 9539230915
No known key found for this signature in database
GPG Key ID: 8D0F221F0A59F469

View File

@ -83,6 +83,9 @@ class GenericManagedPackPage final : public ManagedPackPage {
public:
GenericManagedPackPage(BaseInstance* inst, InstanceWindow* instance_window, QWidget* parent = nullptr) : ManagedPackPage(inst, instance_window, parent) {}
~GenericManagedPackPage() override = default;
// TODO: We may want to show this page with some useful info at some point.
[[nodiscard]] bool shouldDisplay() const override { return false; };
};
class ModrinthManagedPackPage final : public ManagedPackPage {