mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
parseIcon: use txt & txtS as text fallback
This commit is contained in:
parent
6c5409fbce
commit
8b2a5a82f2
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
const parseIcon = (profile, i) => {
|
||||
const res = {
|
||||
type: i.res || null,
|
||||
title: i.text || null
|
||||
title: i.text || i.txt || i.txtS || null
|
||||
}
|
||||
if (i.fg) res.fgColor = i.fg
|
||||
if (i.bg) res.bgColor = i.bg
|
||||
|
|
Loading…
Add table
Reference in a new issue