add Unread badges (#48)
* Added conditional unread badges * Better spacing for unread badges * Revert minHeight change as it is not relating to this feature * Change to flexbox
This commit is contained in:
2
src/typings.d.ts
vendored
2
src/typings.d.ts
vendored
@@ -34,6 +34,7 @@ interface IMangaCard {
|
||||
id: number
|
||||
title: string
|
||||
thumbnailUrl: string
|
||||
unread_count?: number
|
||||
}
|
||||
|
||||
interface IManga {
|
||||
@@ -56,6 +57,7 @@ interface IManga {
|
||||
realUrl: string
|
||||
|
||||
freshData: boolean
|
||||
unread_count?: number
|
||||
}
|
||||
|
||||
interface IChapter {
|
||||
|
||||
Reference in New Issue
Block a user