mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 16:11:20 +02:00
parent
6edcfb1067
commit
d2e1c4683d
6 changed files with 8 additions and 10 deletions
|
|
@ -47,6 +47,9 @@ data class BaseItem(
|
|||
}
|
||||
}
|
||||
|
||||
@Transient
|
||||
val aspectRatio: Float? = data.primaryImageAspectRatio?.toFloat()?.takeIf { it > 0 }
|
||||
|
||||
@Transient
|
||||
val indexNumber = data.indexNumber ?: dateAsIndex()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue