bump version

This commit is contained in:
Bnyro 2022-10-29 18:17:31 +02:00
parent 77ff1e8f20
commit 645e35584a
4 changed files with 9 additions and 6 deletions

View File

@ -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"

View File

@ -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
}
) )
} }
} }

View File

@ -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)

View File

@ -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 {