ui: fix top padding in Onboarding screen

This commit is contained in:
2026-05-30 20:14:32 +02:00
parent ad2dc18f00
commit 9d161bd2a9
2 changed files with 3 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ Product goals, DSP scope, and repo layout are summarized in [SPECS.md](SPECS.md)
## UI screens
- Onboarding: explains why notifications are necessary, implements login
- Library: shows the playlists of the user
- Annotation: user presses a button to annotate the beat
- Now Playing: player showing an individual track, with pause/previous/next buttons

View File

@@ -12,6 +12,7 @@ import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.statusBarsPadding
import androidx.compose.material3.Button
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
@@ -50,6 +51,7 @@ fun OnboardingScreen(
modifier =
modifier
.fillMaxSize()
.statusBarsPadding()
.padding(24.dp),
verticalArrangement = Arrangement.spacedBy(16.dp),
) {