manager: Fix missing template author
This commit is contained in:
@@ -165,6 +165,7 @@ private fun fromJSON(templateJson: JSONObject): TemplateViewModel.TemplateInfo?
|
|||||||
val templateInfo = TemplateViewModel.TemplateInfo(
|
val templateInfo = TemplateViewModel.TemplateInfo(
|
||||||
id = templateJson.getString("id"),
|
id = templateJson.getString("id"),
|
||||||
name = templateJson.getString("name"),
|
name = templateJson.getString("name"),
|
||||||
|
author = templateJson.optString("author"),
|
||||||
description = templateJson.getString("description"),
|
description = templateJson.getString("description"),
|
||||||
local = templateJson.optBoolean("local"),
|
local = templateJson.optBoolean("local"),
|
||||||
namespace = Natives.Profile.Namespace.valueOf(
|
namespace = Natives.Profile.Namespace.valueOf(
|
||||||
|
|||||||
Reference in New Issue
Block a user