no-more-proxy #3
1 arquivos alterados com 1 adições e 1 exclusões
Oops
commit
28a4ac2ca3
|
|
@ -101,7 +101,7 @@ async fn find_icon(host: &str) -> Option<String> {
|
|||
icons
|
||||
.into_iter()
|
||||
.filter_map(|i| -> Option<InstanceIcon> { i.try_into().ok() })
|
||||
.filter(|i| i.size > MINIMUM_ICON_SIZE)
|
||||
.filter(|i| i.size >= MINIMUM_ICON_SIZE)
|
||||
.min_by_key(|i| i.size)
|
||||
.map(|i| i.href)
|
||||
}
|
||||
|
|
|
|||
Carregando…
Adicionar tabela
Adicionar um link
Referência em uma nova issue