Reduce the odds of false positives in the language suggester (close #2598) (#2700)

This commit is contained in:
Paul Frazee 2024-01-30 20:16:49 -08:00 committed by GitHub
parent 42fe0e1609
commit 31bf286fdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 10 deletions

View file

@ -316,7 +316,6 @@ function getImageFromUri(
const type = item.type
if (type === 'text/plain') {
console.log('hit')
item.getAsString(async itemString => {
if (isUriImage(itemString)) {
const response = await fetch(itemString)