fix(deps): upgrade haze to 1.2.0

This commit is contained in:
Harsh Shandilya 2025-01-10 00:14:38 +05:30
parent 059d6db316
commit fa5cb1f484
3 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright © 2022-2024 Harsh Shandilya.
* Copyright © 2022-2025 Harsh Shandilya.
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
@ -31,7 +31,7 @@ import androidx.navigation.compose.currentBackStackEntryAsState
import dev.chrisbanes.haze.HazeDefaults
import dev.chrisbanes.haze.HazeState
import dev.chrisbanes.haze.HazeStyle
import dev.chrisbanes.haze.hazeChild
import dev.chrisbanes.haze.hazeEffect
import dev.msfjarvis.claw.android.ui.navigation.AppDestinations
import dev.msfjarvis.claw.android.ui.navigation.Destination
import dev.msfjarvis.claw.android.ui.navigation.matches
@ -72,7 +72,7 @@ fun ClawNavigationBar(
.padding(horizontal = 16.dp)
.navigationBarsPadding()
.clip(MaterialTheme.shapes.extraLarge)
.hazeChild(
.hazeEffect(
hazeState,
style =
HazeStyle(

View file

@ -1,5 +1,5 @@
/*
* Copyright © 2021-2024 Harsh Shandilya.
* Copyright © 2021-2025 Harsh Shandilya.
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
@ -53,7 +53,7 @@ import androidx.paging.compose.collectAsLazyPagingItems
import com.deliveryhero.whetstone.compose.injectedViewModel
import com.mikepenz.aboutlibraries.ui.compose.m3.LibrariesContainer
import dev.chrisbanes.haze.HazeState
import dev.chrisbanes.haze.haze
import dev.chrisbanes.haze.hazeSource
import dev.msfjarvis.claw.android.MainActivity
import dev.msfjarvis.claw.android.R
import dev.msfjarvis.claw.android.SearchActivity
@ -209,7 +209,7 @@ fun LobstersPostsScreen(
// Make animations 2x faster than default specs
enterTransition = { fadeIn(animationSpec = tween(350)) },
exitTransition = { fadeOut(animationSpec = tween(350)) },
modifier = Modifier.haze(hazeState),
modifier = Modifier.hazeSource(hazeState),
) {
composable<Hottest> {
setWebUri("https://lobste.rs/")

View file

@ -9,7 +9,7 @@ coroutines = "1.10.1"
dagger = "2.54"
eithernet = "2.0.0"
glance = "1.0.0"
haze = "1.1.1"
haze = "1.2.0"
junit = "5.11.4"
konvert = "4.0.1"
kotlin = "2.1.0"