From 59b65d3cc2d11c461eeea9d79f3766527089898a Mon Sep 17 00:00:00 2001 From: Lavish Swarnkar Date: Thu, 21 Nov 2024 18:12:22 +0530 Subject: [PATCH] fix minor compile issue --- .../streamliners/compose/android/comp/appBar/SearchAppBar.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compose-android/src/main/java/com/streamliners/compose/android/comp/appBar/SearchAppBar.kt b/compose-android/src/main/java/com/streamliners/compose/android/comp/appBar/SearchAppBar.kt index 7beb637..bcd9c7d 100644 --- a/compose-android/src/main/java/com/streamliners/compose/android/comp/appBar/SearchAppBar.kt +++ b/compose-android/src/main/java/com/streamliners/compose/android/comp/appBar/SearchAppBar.kt @@ -20,6 +20,7 @@ import androidx.compose.material.IconButton import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Close import androidx.compose.material.icons.filled.Search +import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.Icon import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Scaffold @@ -93,6 +94,7 @@ fun SearchAppBarScaffold( } } +@OptIn(ExperimentalMaterial3Api::class) @Composable fun SearchAppBar( title: String,