@@ -141,8 +141,6 @@ fun UITest(
141141 ) {
142142 AppTopBar (
143143 selectedPage = selectedPage,
144- hazeState = hazeState,
145- hazeStyle = hazeStyle,
146144 currentScrollBehavior = currentScrollBehavior,
147145 items = navigationItem,
148146 showTopPopup = showTopPopup,
@@ -344,8 +342,6 @@ fun UITest(
344342@Composable
345343private fun AppTopBar (
346344 selectedPage : Int ,
347- hazeState : HazeState ,
348- hazeStyle : HazeStyle ,
349345 currentScrollBehavior : ScrollBehavior ,
350346 items : List <NavigationItem >,
351347 showTopPopup : MutableState <Boolean >,
@@ -355,13 +351,7 @@ private fun AppTopBar(
355351 if (maxWidth > 840 .dp) {
356352 SmallTopAppBar (
357353 title = " Miuix" ,
358- modifier = Modifier .hazeEffect(state = hazeState) {
359- style = hazeStyle
360- blurRadius = 25 .dp
361- noiseFactor = 0f
362- },
363354 scrollBehavior = currentScrollBehavior,
364- color = Color .Transparent ,
365355 actions = {
366356 TopAppBarActions (
367357 selectedPage = selectedPage,
@@ -374,14 +364,7 @@ private fun AppTopBar(
374364 } else {
375365 TopAppBar (
376366 title = " Miuix" ,
377- modifier = Modifier
378- .hazeEffect(state = hazeState) {
379- style = hazeStyle
380- blurRadius = 25 .dp
381- noiseFactor = 0f
382- },
383367 scrollBehavior = currentScrollBehavior,
384- color = Color .Transparent ,
385368 actions = {
386369 TopAppBarActions (
387370 selectedPage = selectedPage,
0 commit comments