Fix(Tool): Fixed the bug of getting tool exception when tool desc is null

This commit is contained in:
2024-07-17 15:37:02 +08:00
parent d84427b039
commit a85e561863
3 changed files with 3 additions and 3 deletions

View File

@@ -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(