mirror of
https://github.com/thunderbird/thunderbird-android.git
synced 2024-09-20 04:02:14 +02:00
Fix content padding as we won't draw behind the status bar
This commit is contained in:
parent
1114250ab4
commit
0d9ad283a4
@ -13,7 +13,7 @@ class CatalogActivity : ComponentActivity() {
|
||||
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
WindowCompat.setDecorFitsSystemWindows(window, false)
|
||||
WindowCompat.setDecorFitsSystemWindows(window, true)
|
||||
|
||||
setContent {
|
||||
CatalogScreen()
|
||||
|
@ -6,7 +6,6 @@ import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.Spacer
|
||||
import androidx.compose.foundation.layout.fillMaxSize
|
||||
import androidx.compose.foundation.layout.height
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.lazy.grid.GridCells
|
||||
import androidx.compose.foundation.lazy.grid.LazyGridScope
|
||||
import androidx.compose.foundation.lazy.grid.LazyVerticalGrid
|
||||
@ -58,8 +57,7 @@ fun <T> PagedContent(
|
||||
pageCount = pages.size,
|
||||
state = pagerState,
|
||||
modifier = Modifier
|
||||
.fillMaxSize()
|
||||
.padding(bottom = MainTheme.sizes.topBarHeight),
|
||||
.fillMaxSize(),
|
||||
) { page ->
|
||||
LazyVerticalGrid(
|
||||
columns = GridCells.Adaptive(300.dp),
|
||||
|
Loading…
Reference in New Issue
Block a user