mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 13:31:51 +01:00
Remove top bar workaround (#8497)
Fixed upstream and we currently using small top bar which doesn't affected
This commit is contained in:
parent
6ce54eb845
commit
11ed47397d
@ -84,10 +84,6 @@ object SettingsMainScreen : Screen {
|
|||||||
Scaffold(
|
Scaffold(
|
||||||
topBarScrollBehavior = TopAppBarDefaults.pinnedScrollBehavior(topBarState),
|
topBarScrollBehavior = TopAppBarDefaults.pinnedScrollBehavior(topBarState),
|
||||||
topBar = { scrollBehavior ->
|
topBar = { scrollBehavior ->
|
||||||
// https://issuetracker.google.com/issues/249688556
|
|
||||||
MaterialTheme(
|
|
||||||
colorScheme = MaterialTheme.colorScheme.copy(surface = containerColor),
|
|
||||||
) {
|
|
||||||
TopAppBar(
|
TopAppBar(
|
||||||
title = {
|
title = {
|
||||||
Text(
|
Text(
|
||||||
@ -116,7 +112,6 @@ object SettingsMainScreen : Screen {
|
|||||||
},
|
},
|
||||||
scrollBehavior = scrollBehavior,
|
scrollBehavior = scrollBehavior,
|
||||||
)
|
)
|
||||||
}
|
|
||||||
},
|
},
|
||||||
containerColor = containerColor,
|
containerColor = containerColor,
|
||||||
content = { contentPadding ->
|
content = { contentPadding ->
|
||||||
|
Loading…
Reference in New Issue
Block a user