mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
Fix lint issues.
This commit is contained in:
parent
2321ed22f1
commit
df565bb8da
@ -297,7 +297,9 @@ class BackgroundMode : LifecycleService() {
|
||||
|
||||
val uri = if (streams.audioStreams.isNotEmpty()) {
|
||||
PlayerHelper.getAudioSource(this, streams.audioStreams)
|
||||
} else streams.hls ?: return
|
||||
} else {
|
||||
streams.hls ?: return
|
||||
}
|
||||
|
||||
val mediaItem = MediaItem.Builder()
|
||||
.setUri(uri)
|
||||
|
@ -244,7 +244,7 @@ class DownloadService : LifecycleService() {
|
||||
notificationBuilder
|
||||
.setContentText(
|
||||
totalRead.formatAsFileSize() + " / " +
|
||||
item.downloadSize.formatAsFileSize()
|
||||
item.downloadSize.formatAsFileSize()
|
||||
)
|
||||
.setProgress(
|
||||
item.downloadSize.toInt(),
|
||||
|
Loading…
Reference in New Issue
Block a user