Modrinth: use default icon for non-managed packs

Fixes: #317
Signed-off-by: James Beddek <telans@posteo.de>
This commit is contained in:
James Beddek 2023-06-20 23:00:13 +12:00
parent af6bf11793
commit 009623823d
No known key found for this signature in database
GPG Key ID: 0B4F753DA83DBA90

View File

@ -214,7 +214,7 @@ bool ModrinthCreationTask::createInstance()
if (m_instIcon != "default") { if (m_instIcon != "default") {
instance.setIconKey(m_instIcon); instance.setIconKey(m_instIcon);
} else { } else if (!m_managed_id.isEmpty()) {
instance.setIconKey("modrinth"); instance.setIconKey("modrinth");
} }