mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 11:22:12 +00:00
Update: Disable collapsable TopBar
This commit is contained in:
parent
cfa6a7471a
commit
5f3a174b14
@ -23,7 +23,6 @@ import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.getValue
|
||||
import androidx.compose.runtime.livedata.observeAsState
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.input.nestedscroll.nestedScroll
|
||||
import androidx.compose.ui.platform.ComposeView
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import com.machiav3lli.fdroid.R
|
||||
@ -87,11 +86,11 @@ class ExploreFragment : MainNavFragmentX() {
|
||||
) {
|
||||
Scaffold(
|
||||
// TODO add the topBar to the activity instead of the fragments
|
||||
modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection),
|
||||
//modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection),
|
||||
topBar = {
|
||||
TopBar(
|
||||
title = stringResource(id = R.string.application_name),
|
||||
scrollBehavior = scrollBehavior
|
||||
//scrollBehavior = scrollBehavior
|
||||
) {
|
||||
ExpandableSearchAction(
|
||||
query = searchQuery.orEmpty(),
|
||||
|
@ -38,7 +38,6 @@ import androidx.compose.runtime.remember
|
||||
import androidx.compose.runtime.setValue
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.input.nestedscroll.nestedScroll
|
||||
import androidx.compose.ui.platform.ComposeView
|
||||
import androidx.compose.ui.res.painterResource
|
||||
import androidx.compose.ui.res.stringResource
|
||||
@ -105,11 +104,11 @@ class InstalledFragment : MainNavFragmentX() {
|
||||
) {
|
||||
Scaffold(
|
||||
// TODO add the topBar to the activity instead of the fragments
|
||||
modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection),
|
||||
//modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection),
|
||||
topBar = {
|
||||
TopBar(
|
||||
title = stringResource(id = R.string.application_name),
|
||||
scrollBehavior = scrollBehavior
|
||||
//scrollBehavior = scrollBehavior
|
||||
) {
|
||||
ExpandableSearchAction(
|
||||
query = searchQuery.orEmpty(),
|
||||
|
@ -26,7 +26,6 @@ import androidx.compose.runtime.getValue
|
||||
import androidx.compose.runtime.livedata.observeAsState
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.input.nestedscroll.nestedScroll
|
||||
import androidx.compose.ui.platform.ComposeView
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.unit.dp
|
||||
@ -90,11 +89,11 @@ class LatestFragment : MainNavFragmentX() {
|
||||
) {
|
||||
Scaffold(
|
||||
// TODO add the topBar to the activity instead of the fragments
|
||||
modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection),
|
||||
//modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection),
|
||||
topBar = {
|
||||
TopBar(
|
||||
title = stringResource(id = R.string.application_name),
|
||||
scrollBehavior = scrollBehavior
|
||||
//scrollBehavior = scrollBehavior
|
||||
) {
|
||||
ExpandableSearchAction(
|
||||
query = searchQuery.orEmpty(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user