Skip to content

Commit

Permalink
fix #67
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed Mar 9, 2024
1 parent 0962a74 commit 18babee
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 22 deletions.
1 change: 0 additions & 1 deletion app/shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ kotlin {
api(libs.kodein.compose)

implementation(libs.aboutlibraries)
implementation(libs.aboutlibraries.compose)

api(libs.moko.resources.compose)
api(libs.blurhash)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ import dev.datlag.burningseries.shared.ui.custom.AutoSizeText
import dev.datlag.burningseries.shared.ui.custom.CountryImage
import dev.datlag.burningseries.shared.ui.custom.Cover

@OptIn(ExperimentalFoundationApi::class)
@OptIn(ExperimentalFoundationApi::class, ExperimentalMaterial3Api::class)
@Composable
fun LazyGridItemScope.EpisodeItem(episode: Home.Episode, onclick: () -> Unit) {
ElevatedCard(
modifier = Modifier.animateItemPlacement().focusScale(1.02F).height(150.dp).bounceClick().clip(MaterialTheme.shapes.medium).onClick {
onclick()
}
modifier = Modifier.animateItemPlacement().focusScale(1.02F).height(150.dp).bounceClick(),
onClick = onclick
) {
Row(
horizontalArrangement = Arrangement.spacedBy(8.dp)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ fun LazyItemScope.SeriesItem(series: DBSeries, modifier: Modifier = Modifier, on
)
}

@OptIn(ExperimentalMaterial3Api::class)
@Composable
private fun SeriesItem(title: String, coverHref: String?, modifier: Modifier = Modifier, onClick: () -> Unit) {
ElevatedCard(
modifier = modifier.focusScale(1.02F).height(150.dp).bounceClick().clip(MaterialTheme.shapes.medium).onClick {
onClick()
}
modifier = modifier.focusScale(1.02F).height(150.dp).bounceClick(),
onClick = onClick
) {
Row(
horizontalArrangement = Arrangement.spacedBy(8.dp)
Expand Down
27 changes: 13 additions & 14 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[versions]
app = "5.2.0"
aboutlibraries = "10.9.2"
accompanist = "0.32.0"
aboutlibraries = "11.1.0"
accompanist = "0.34.0"
activity = "1.8.2"
android = "8.1.4"
android = "8.2.2"
android-core = "1.12.0"
appcompat = "1.6.1"
appdirs = "1.2.2"
Expand All @@ -17,12 +17,12 @@ crashlytics-plugin = "2.9.9"
datastore = "1.0.0"
datetime = "0.5.0"
decompose = "2.2.2-compose-experimental"
firebase = "1.10.4"
firebase = "1.11.1"
firebase-android = "20.4.2"
firebase-android-auth = "22.3.0"
firebase-android-crashlytics = "18.6.0"
firebase-android-firestore = "24.10.0"
flowredux = "1.2.0"
firebase-android-auth = "22.3.1"
firebase-android-crashlytics = "18.6.2"
firebase-android-firestore = "24.10.3"
flowredux = "1.2.1"
grpc = "1.59.0"
instesx = "0.1.0-alpha10"
jsunpacker = "1.0.2"
Expand All @@ -32,34 +32,33 @@ kodein = "7.21.1"
kolor = "1.3.0"
kotlin = "1.9.21"
ksp = "1.9.21-1.0.16"
ktor = "2.3.7"
ktor = "2.3.8"
ktorfit = "1.11.1"
ktsoup = "0.3.0"
lang = "3.14.0"
material = "1.11.0"
media3 = "1.2.0"
media3 = "1.3.0"
moko-resources = "0.23.0"
multidex = "2.0.1"
nanoid = "1.0.1"
napier = "2.6.1"
napier = "2.7.1"
okhttp = "4.12.0"
osdetector = "1.7.3"
protobuf = "0.9.4"
protoc = "3.24.4"
realm = "1.13.0"
sekret = "0.2.1"
serialization-json = "1.6.2"
serialization-json = "1.6.3"
skeo = "0.1.1"
splashscreen = "1.0.1"
sqldelight = "2.0.1"
turbine = "1.0.0"
versions = "0.50.0"
versions = "0.51.0"
vlcj = "4.8.2"
windowsize-multiplatform = "0.3.2"

[libraries]
aboutlibraries = { group = "com.mikepenz", name = "aboutlibraries-core", version.ref = "aboutlibraries" }
aboutlibraries-compose = { group = "com.mikepenz", name = "aboutlibraries-compose", version.ref = "aboutlibraries" }
accompanist-uicontroller = { group = "com.google.accompanist", name = "accompanist-systemuicontroller", version.ref = "accompanist" }
activity = { group = "androidx.activity", name = "activity-ktx", version.ref = "activity" }
activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity" }
Expand Down

0 comments on commit 18babee

Please sign in to comment.