From f79c9c593bb8e27de1f4fc224ce2203551663269 Mon Sep 17 00:00:00 2001 From: FunkyMuse Date: Mon, 9 Oct 2023 15:52:19 +0200 Subject: [PATCH] migrate to simple scaffold --- .../com/simplemobiletools/thankyou/screens/MainScreen.kt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/thankyou/screens/MainScreen.kt b/app/src/main/kotlin/com/simplemobiletools/thankyou/screens/MainScreen.kt index e6e5e0b..3b277a8 100644 --- a/app/src/main/kotlin/com/simplemobiletools/thankyou/screens/MainScreen.kt +++ b/app/src/main/kotlin/com/simplemobiletools/thankyou/screens/MainScreen.kt @@ -20,10 +20,7 @@ import androidx.compose.ui.unit.sp import androidx.compose.ui.viewinterop.AndroidView import com.simplemobiletools.commons.R import com.simplemobiletools.commons.compose.extensions.MyDevices -import com.simplemobiletools.commons.compose.lists.SimpleLazyListScaffold -import com.simplemobiletools.commons.compose.lists.simpleTopAppBarColors -import com.simplemobiletools.commons.compose.lists.topAppBarInsets -import com.simplemobiletools.commons.compose.lists.topAppBarPaddings +import com.simplemobiletools.commons.compose.lists.* import com.simplemobiletools.commons.compose.menus.ActionItem import com.simplemobiletools.commons.compose.menus.ActionMenu import com.simplemobiletools.commons.compose.menus.OverflowMode @@ -39,7 +36,7 @@ internal fun MainScreen( moreAppsFromUs: () -> Unit, linkColor: Color, ) { - SimpleLazyListScaffold(customTopBar = { scrolledColor: Color, _: MutableInteractionSource, scrollBehavior: TopAppBarScrollBehavior, statusBarColor: Int, colorTransitionFraction: Float, contrastColor: Color -> + SimpleScaffold(customTopBar = { scrolledColor: Color, _: MutableInteractionSource, scrollBehavior: TopAppBarScrollBehavior, statusBarColor: Int, colorTransitionFraction: Float, contrastColor: Color -> TopAppBar( title = {}, actions = {