mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 15:30:31 +05:30
bump version
This commit is contained in:
parent
77ff1e8f20
commit
645e35584a
@ -13,8 +13,8 @@ android {
|
|||||||
applicationId 'com.github.libretube'
|
applicationId 'com.github.libretube'
|
||||||
minSdk 21
|
minSdk 21
|
||||||
targetSdk 33
|
targetSdk 33
|
||||||
versionCode 20
|
versionCode 21
|
||||||
versionName '0.6.1'
|
versionName '0.7.0'
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
||||||
resValue "string", "app_name", "LibreTube"
|
resValue "string", "app_name", "LibreTube"
|
||||||
|
@ -38,8 +38,11 @@ class PlayingQueueAdapter : RecyclerView.Adapter<PlayingQueueViewHolder>() {
|
|||||||
DateUtils.formatElapsedTime(streamItem.duration ?: 0)
|
DateUtils.formatElapsedTime(streamItem.duration ?: 0)
|
||||||
|
|
||||||
root.setBackgroundColor(
|
root.setBackgroundColor(
|
||||||
if (currentIndex == position) ThemeHelper.getThemeColor(root.context, android.R.attr.colorControlHighlight)
|
if (currentIndex == position) {
|
||||||
else Color.TRANSPARENT
|
ThemeHelper.getThemeColor(root.context, android.R.attr.colorControlHighlight)
|
||||||
|
} else {
|
||||||
|
Color.TRANSPARENT
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,8 @@ class PlayingQueueSheet : BottomSheetDialogFragment() {
|
|||||||
val currentIndex = PlayingQueue.currentIndex()
|
val currentIndex = PlayingQueue.currentIndex()
|
||||||
|
|
||||||
val streams = PlayingQueue.getStreams().filterIndexed {
|
val streams = PlayingQueue.getStreams().filterIndexed {
|
||||||
position, _ -> position <= currentIndex
|
position, _ ->
|
||||||
|
position <= currentIndex
|
||||||
}
|
}
|
||||||
|
|
||||||
PlayingQueue.setStreams(streams)
|
PlayingQueue.setStreams(streams)
|
||||||
|
@ -3,7 +3,6 @@ package com.github.libretube.util
|
|||||||
import android.os.Handler
|
import android.os.Handler
|
||||||
import android.os.Looper
|
import android.os.Looper
|
||||||
import android.os.SystemClock
|
import android.os.SystemClock
|
||||||
import android.util.Log
|
|
||||||
import android.view.View
|
import android.view.View
|
||||||
|
|
||||||
abstract class DoubleTapListener : View.OnClickListener {
|
abstract class DoubleTapListener : View.OnClickListener {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user