Shariff
11/03/2024, 5:07 AMWindowCompat.setDecorFitsSystemWindows(window, false)
Richard
11/04/2024, 8:46 AMstruct ContentView: View {
var body: some View {
ComposeView().ignoresSafeArea(.all)
}
}
This works fine for meOleksandr Katrych
11/04/2024, 11:06 AM.ignoresSafeArea()
is the way to go. And later in the Compose code:
modifier = Modifier.systemBarsPadding()