Merge pull request #1231 from telans/modrinth-default-icon

Modrinth: use default icon for non-managed packs
This commit is contained in:
DioEgizio 2023-06-21 12:25:26 +02:00 committed by GitHub
commit 8aa02320e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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");
} }