Skip to content

Commit

Permalink
chore: Updated libraries
Browse files Browse the repository at this point in the history
ui: Landscape mode now draws safely (not behind untouchable areas)

Signed-off-by: Gabriel Fontán <[email protected]>
  • Loading branch information
BobbyESP committed Jul 26, 2024
1 parent 2e7da05 commit 38be2ad
Show file tree
Hide file tree
Showing 54 changed files with 170 additions and 469 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

259 changes: 0 additions & 259 deletions .idea/other.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
kotlinOptions {
jvmTarget = "17"
jvmTarget = "21"
freeCompilerArgs = listOf("-Xcontext-receivers", "-XXLanguage:+ExplicitBackingFields")
}
buildFeatures {
Expand Down
6 changes: 3 additions & 3 deletions app/mediaplayer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
kotlinOptions {
jvmTarget = "17"
jvmTarget = "21"
}
}

Expand Down
3 changes: 0 additions & 3 deletions app/src/main/java/com/bobbyesp/metadator/ext/Any.kt

This file was deleted.

2 changes: 1 addition & 1 deletion app/src/main/java/com/bobbyesp/metadator/ext/KClass.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ package com.bobbyesp.metadator.ext

import kotlin.reflect.KClass

fun KClass<*>.formatToRoute(): String = this.qualifiedName.toString()
fun KClass<*>.qualifiedName(): String = this.qualifiedName.toString()
2 changes: 1 addition & 1 deletion app/src/main/java/com/bobbyesp/metadator/ext/MediaItem.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.bobbyesp.metadator.ext

import androidx.media3.common.MediaItem
import com.bobbyesp.model.Song
import com.bobbyesp.utilities.model.Song

fun MediaItem.toSong(): Song {
val mediaMetadata =
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/bobbyesp/metadator/ext/Song.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.bobbyesp.metadator.ext

import com.bobbyesp.metadator.model.ParcelableSong
import com.bobbyesp.model.Song
import com.bobbyesp.utilities.model.Song

fun Song.toParcelableSong(): ParcelableSong {
val artistsList = this.artist.toList()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.bobbyesp.metadator.model
import android.net.Uri
import android.os.Parcelable
import androidx.compose.runtime.Immutable
import com.bobbyesp.model.UriSerializer
import com.bobbyesp.utilities.model.UriSerializer
import kotlinx.parcelize.Parcelize
import kotlinx.serialization.Serializable

Expand Down
Loading

0 comments on commit 38be2ad

Please sign in to comment.