ui: fix top padding in Onboarding screen
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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),
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user