File tree Expand file tree Collapse file tree
src/main/java/com/github/libretube Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ if (keystoreFileExists) {
2626}
2727
2828android {
29- compileSdk = 35
29+ compileSdk = 36
3030
3131 defaultConfig {
3232 applicationId = " com.github.libretube"
3333 minSdk = 26
34- targetSdk = 35
34+ targetSdk = 36
3535 versionCode = 65
3636 versionName = " 0.30.0"
3737 testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
Original file line number Diff line number Diff line change @@ -31,9 +31,7 @@ import com.github.libretube.ui.dialogs.ShareDialog.Companion.YOUTUBE_FRONTEND_UR
3131import kotlinx.coroutines.Dispatchers
3232import kotlinx.coroutines.async
3333import kotlinx.coroutines.withContext
34- import kotlinx.datetime.toKotlinInstant
3534import kotlinx.serialization.Serializable
36- import kotlinx.serialization.encodeToString
3735import org.schabi.newpipe.extractor.InfoItem
3836import org.schabi.newpipe.extractor.Page
3937import org.schabi.newpipe.extractor.channel.ChannelInfo
@@ -54,6 +52,7 @@ import org.schabi.newpipe.extractor.stream.StreamInfo
5452import org.schabi.newpipe.extractor.stream.StreamInfoItem
5553import org.schabi.newpipe.extractor.stream.ContentAvailability
5654import org.schabi.newpipe.extractor.stream.VideoStream
55+ import kotlin.time.toKotlinInstant
5756
5857
5958private fun VideoStream.toPipedStream () = PipedStream (
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import com.github.libretube.R
1111import com.github.libretube.db.obj.SearchHistoryItem
1212import com.github.libretube.enums.SearchDataType
1313import com.github.libretube.obj.SearchDataItem
14- import okhttp3.internal.toImmutableList
1514import kotlin.collections.plus
1615
1716class SearchSuggestionsAdapter (
@@ -31,7 +30,7 @@ class SearchSuggestionsAdapter(
3130 ) {
3231 if (historyList == null && suggestionList == null ) return
3332
34- val oldList = currentList.toImmutableList ()
33+ val oldList = currentList.toList ()
3534 val histories = historyList ? : oldList.filter { it.type == SearchDataType .HISTORY }
3635 val suggestions = suggestionList ? : oldList.filter { it.type == SearchDataType .SUGGESTION }
3736 val newList = (histories + suggestions).distinctBy { it.query }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ plugins {
77
88android {
99 namespace = " com.github.libretube.baselineprofile"
10- compileSdk = 34
10+ compileSdk = 36
1111
1212 compileOptions {
1313 sourceCompatibility = JavaVersion .VERSION_17
@@ -22,7 +22,7 @@ android {
2222
2323 defaultConfig {
2424 minSdk = 28
25- targetSdk = 34
25+ targetSdk = 36
2626
2727 testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
2828 }
Original file line number Diff line number Diff line change 11[versions ]
22appcompat = " 1.7.1"
3- core = " 1.13.1 "
3+ core = " 1.17.0 "
44documentfile = " 1.1.0"
55gradle = " 9.0.1"
66junit = " 4.13.2"
77kotlin = " 2.3.10"
88ksp = " 2.3.5"
9- lifecycle = " 2.8.7 "
9+ lifecycle = " 2.10.0 "
1010constraintlayout = " 2.2.1"
11- loggingInterceptor = " 4.12.0 "
11+ loggingInterceptor = " 5.3.2 "
1212material = " 1.14.0-alpha09"
1313navigation = " 2.9.7"
1414newpipeextractor = " fc63085"
1515preference = " 1.2.1"
1616extJunit = " 1.3.0"
1717espresso = " 3.7.0"
18- workRuntime = " 2.10.5 "
19- retrofit = " 2.11 .0"
18+ workRuntime = " 2.11.1 "
19+ retrofit = " 3.0 .0"
2020desugaring = " 2.1.5"
21- coil = " 3.0.4 "
22- room = " 2.6.1 "
23- kotlinxSerialization = " 1.6.3 "
24- kotlinxDatetime = " 0.6.2 "
21+ coil = " 3.3.0 "
22+ room = " 2.8.4 "
23+ kotlinxSerialization = " 1.10.0 "
24+ kotlinxDatetime = " 0.7.1 "
2525media = " 1.7.1"
26- media3 = " 1.9.1 "
27- activity = " 1.9.3 "
26+ media3 = " 1.9.2 "
27+ activity = " 1.12.4 "
2828fragment = " 1.8.9"
2929uiautomator = " 2.3.0"
3030benchmarkMacroJunit4 = " 1.4.1"
3131baselineprofile = " 1.5.0-alpha03"
3232profileinstaller = " 1.4.1"
33- paging = " 3.4.0 "
33+ paging = " 3.4.1 "
3434collection = " 1.5.0"
3535swiperefreshlayout = " 1.2.0"
3636splashscreen = " 1.2.0"
You can’t perform that action at this time.
0 commit comments