diff --git a/app/src/main/java/com/bobbyesp/spowlo/features/spotify_api/data/remote/SpotifyApiRequests.kt b/app/src/main/java/com/bobbyesp/spowlo/features/spotify_api/data/remote/SpotifyApiRequests.kt index ecdd346b..844831ff 100644 --- a/app/src/main/java/com/bobbyesp/spowlo/features/spotify_api/data/remote/SpotifyApiRequests.kt +++ b/app/src/main/java/com/bobbyesp/spowlo/features/spotify_api/data/remote/SpotifyApiRequests.kt @@ -68,7 +68,7 @@ object SpotifyApiRequests { // Performs Spotify database query for queries related to track information. suspend fun searchAllTypes(searchQuery: String): SpotifySearchResult { kotlin.runCatching { - provideSpotifyApi().search.searchAllTypes(searchQuery, limit = 50, offset = 1, market = Market.ES) + provideSpotifyApi().search.searchAllTypes(searchQuery, limit = 50, offset = 0, market = Market.ES) }.onFailure { Log.d("SpotifyApiRequests", "Error: ${it.message}") return SpotifySearchResult() diff --git a/app/src/main/java/com/bobbyesp/spowlo/ui/pages/InitialEntry.kt b/app/src/main/java/com/bobbyesp/spowlo/ui/pages/InitialEntry.kt index 635609e9..b61768ec 100644 --- a/app/src/main/java/com/bobbyesp/spowlo/ui/pages/InitialEntry.kt +++ b/app/src/main/java/com/bobbyesp/spowlo/ui/pages/InitialEntry.kt @@ -607,6 +607,7 @@ fun InitialEntry( }.onFailure { it.printStackTrace() ToastUtil.makeToastSuspend(context.getString(R.string.update_check_failed)) + return@launch } } } diff --git a/color/build.gradle.kts b/color/build.gradle.kts index 89829254..c85c0e13 100644 --- a/color/build.gradle.kts +++ b/color/build.gradle.kts @@ -4,8 +4,8 @@ plugins { } java { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } android { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 602db51c..5765d895 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -21,7 +21,7 @@ androidxHiltNavigationCompose = "1.0.0" androidxTestExt = "1.1.5" -spotdlAndroidVersion = "3d8e42a3f0" +spotdlAndroidVersion = "0.1.10" spotifyApiKotlinVersion = "3.8.8" shimmerLibrary = "1.0.4"