Skip to content

Commit

Permalink
Reset scrollBehavior
Browse files Browse the repository at this point in the history
  • Loading branch information
eviarch666 committed Mar 5, 2024
1 parent f57c90b commit 8da3488
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.Icon
import androidx.compose.material3.IconButton
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.MediumTopAppBar
import androidx.compose.material3.Text
import androidx.compose.material3.TopAppBar
import androidx.compose.material3.TopAppBarDefaults
import androidx.compose.material3.TopAppBarScrollBehavior
import androidx.compose.runtime.Composable
Expand Down Expand Up @@ -61,7 +61,7 @@ fun EditNoteTopBar(
) {
var showDialog by remember { mutableStateOf(false) }
val interactionSource = remember { MutableInteractionSource() }
MediumTopAppBar(
TopAppBar(
scrollBehavior = scrollBehavior,
colors = TopAppBarDefaults.topAppBarColors(
containerColor = MaterialTheme.colorScheme.primaryContainer,
Expand Down

0 comments on commit 8da3488

Please sign in to comment.