better theme for tv
This commit is contained in:
@@ -38,7 +38,10 @@ function isParsianCoin(product: Product) {
|
||||
function isBankCoin(product: Product) {
|
||||
if (isParsianCoin(product)) return false
|
||||
const group = (product.group_type ?? '').trim()
|
||||
return group === 'سکه' || group === 'سکه بانکی' || (group.includes('سکه') && !group.includes('پارسیان'))
|
||||
const title = (product.title ?? '').trim()
|
||||
if (group === 'سکه' || group === 'سکه بانکی') return true
|
||||
if (group.includes('سکه') && !group.includes('پارسیان')) return true
|
||||
return title.includes('بانکی')
|
||||
}
|
||||
|
||||
function bankCoinRank(product: Product) {
|
||||
|
||||
Reference in New Issue
Block a user