Fix(Tool): Fixed the bug of getting tool exception when tool desc is null
This commit is contained in:
@@ -49,7 +49,7 @@ fun ToolCard(
|
||||
ToolInfo(
|
||||
toolName = tool.name,
|
||||
toolId = tool.toolId,
|
||||
toolDesc = tool.description
|
||||
toolDesc = tool.description ?: ""
|
||||
)
|
||||
Spacer(modifier = Modifier.height(16.dp))
|
||||
AuthorInfo(
|
||||
|
||||
Reference in New Issue
Block a user