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