mirror of
https://github.com/sudoxnym/audiobookshelf-atv.git
synced 2026-04-14 19:46:30 +00:00
Remove unnecessary background-image
This commit is contained in:
parent
bc85e9bbfa
commit
7721afc116
3 changed files with 7 additions and 6 deletions
|
|
@ -79,7 +79,7 @@ class AbMediaDescriptionAdapter constructor(private val controller: MediaControl
|
|||
}
|
||||
|
||||
try {
|
||||
Glide.with(context).applyDefaultRequestOptions(glideOptions)
|
||||
Glide.with(playerNotificationService)
|
||||
.asBitmap()
|
||||
.load(urival)
|
||||
.placeholder(R.drawable.icon)
|
||||
|
|
@ -89,7 +89,7 @@ class AbMediaDescriptionAdapter constructor(private val controller: MediaControl
|
|||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
|
||||
Glide.with(context).applyDefaultRequestOptions(glideOptions)
|
||||
Glide.with(playerNotificationService)
|
||||
.asBitmap()
|
||||
.load(Uri.parse("android.resource://com.audiobookshelf.app/" + R.drawable.icon))
|
||||
.submit(NOTIFICATION_LARGE_ICON_SIZE, NOTIFICATION_LARGE_ICON_SIZE)
|
||||
|
|
|
|||
|
|
@ -17,10 +17,8 @@ data class MediaProgressSyncData(
|
|||
var currentTime:Double // seconds
|
||||
)
|
||||
|
||||
class MediaProgressSyncer(playerNotificationService:PlayerNotificationService, apiHandler: ApiHandler) {
|
||||
class MediaProgressSyncer(val playerNotificationService:PlayerNotificationService, private val apiHandler: ApiHandler) {
|
||||
private val tag = "MediaProgressSync"
|
||||
private val playerNotificationService:PlayerNotificationService = playerNotificationService
|
||||
private val apiHandler = apiHandler
|
||||
|
||||
private var listeningTimerTask: TimerTask? = null
|
||||
var listeningTimerRunning:Boolean = false
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ body {
|
|||
min-height: calc(100% - 64px);
|
||||
max-height: calc(100% - 64px);
|
||||
}
|
||||
|
||||
#content.playerOpen {
|
||||
height: calc(100% - 164px);
|
||||
min-height: calc(100% - 164px);
|
||||
|
|
@ -46,6 +47,7 @@ body {
|
|||
.box-shadow-book {
|
||||
box-shadow: 4px 1px 8px #11111166, -4px 1px 8px #11111166, 1px -4px 8px #11111166;
|
||||
}
|
||||
|
||||
.shadow-height {
|
||||
height: calc(100% - 4px);
|
||||
}
|
||||
|
|
@ -53,6 +55,7 @@ body {
|
|||
.bookshelfRow {
|
||||
background-image: url(/wood_panels.jpg);
|
||||
}
|
||||
|
||||
.bookshelfDivider {
|
||||
background: rgb(149, 119, 90);
|
||||
background: linear-gradient(180deg, rgba(149, 119, 90, 1) 0%, rgba(103, 70, 37, 1) 17%, rgba(103, 70, 37, 1) 88%, rgba(71, 48, 25, 1) 100%);
|
||||
|
|
@ -63,9 +66,9 @@ body {
|
|||
Bookshelf Label
|
||||
*/
|
||||
.categoryPlacard {
|
||||
background-image: url(https://image.freepik.com/free-photo/brown-wooden-textured-flooring-background_53876-128537.jpg);
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.shinyBlack {
|
||||
background-color: #2d3436;
|
||||
background-image: linear-gradient(315deg, #19191a 0%, rgb(15, 15, 15) 74%);
|
||||
|
|
|
|||
Loading…
Reference in a new issue