migrate to simple scaffold
This commit is contained in:
parent
385ca47c91
commit
f79c9c593b
|
@ -20,10 +20,7 @@ import androidx.compose.ui.unit.sp
|
||||||
import androidx.compose.ui.viewinterop.AndroidView
|
import androidx.compose.ui.viewinterop.AndroidView
|
||||||
import com.simplemobiletools.commons.R
|
import com.simplemobiletools.commons.R
|
||||||
import com.simplemobiletools.commons.compose.extensions.MyDevices
|
import com.simplemobiletools.commons.compose.extensions.MyDevices
|
||||||
import com.simplemobiletools.commons.compose.lists.SimpleLazyListScaffold
|
import com.simplemobiletools.commons.compose.lists.*
|
||||||
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.menus.ActionItem
|
import com.simplemobiletools.commons.compose.menus.ActionItem
|
||||||
import com.simplemobiletools.commons.compose.menus.ActionMenu
|
import com.simplemobiletools.commons.compose.menus.ActionMenu
|
||||||
import com.simplemobiletools.commons.compose.menus.OverflowMode
|
import com.simplemobiletools.commons.compose.menus.OverflowMode
|
||||||
|
@ -39,7 +36,7 @@ internal fun MainScreen(
|
||||||
moreAppsFromUs: () -> Unit,
|
moreAppsFromUs: () -> Unit,
|
||||||
linkColor: Color,
|
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(
|
TopAppBar(
|
||||||
title = {},
|
title = {},
|
||||||
actions = {
|
actions = {
|
||||||
|
|
Loading…
Reference in New Issue