Skip to content

Commit 92b019b

Browse files
committed
fix: Temporarily hide confidence tag and similarity score text due to unstable performance
1 parent 24b3187 commit 92b019b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

app/src/main/java/me/grey/picquery/ui/search/SearchResultList.kt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -178,21 +178,21 @@ fun PhotoResultItem(
178178
contentScale = ContentScale.Crop
179179
)
180180

181-
// ConfidenceTag positioned at the top-right corner
182-
ConfidenceTag(
183-
confidenceLevel =searchResult.confidenceLevel,
184-
modifier = Modifier
185-
.align(Alignment.TopEnd)
186-
.padding(8.dp)
187-
)
181+
// FIXME: ConfidenceTag positioned at the top-right corner
182+
// ConfidenceTag(
183+
// confidenceLevel =searchResult.confidenceLevel,
184+
// modifier = Modifier
185+
// .align(Alignment.TopEnd)
186+
// .padding(8.dp)
187+
// )
188188
}
189189

190190
// Optional: Similarity score text
191-
Text(
192-
text = "Similarity: ${String.format("%.2f", searchResult.similarityScore)}",
193-
style = MaterialTheme.typography.bodySmall,
194-
modifier = Modifier.padding(top = 4.dp)
195-
)
191+
// Text(
192+
// text = "Similarity: ${String.format("%.2f", searchResult.similarityScore)}",
193+
// style = MaterialTheme.typography.bodySmall,
194+
// modifier = Modifier.padding(top = 4.dp)
195+
// )
196196
}
197197
}
198198
}

0 commit comments

Comments
 (0)