feat: Add screen orientation setting and improve padding for navigation bars in ChatsList and Onboarding screens

This commit is contained in:
2026-01-18 19:52:56 +05:00
parent fcc7755fb5
commit aac5081dec
11 changed files with 49 additions and 9 deletions

View File

@@ -133,6 +133,7 @@ fun ConfirmSeedPhraseScreen(
.fillMaxSize()
.background(backgroundColor)
.statusBarsPadding()
.navigationBarsPadding()
) {
Column(modifier = Modifier.fillMaxSize()) {
// Top bar

View File

@@ -53,6 +53,7 @@ fun ImportSeedPhraseScreen(
.fillMaxSize()
.background(backgroundColor)
.statusBarsPadding()
.navigationBarsPadding()
) {
Column(modifier = Modifier.fillMaxSize()) {
// Top bar

View File

@@ -56,6 +56,7 @@ fun SeedPhraseScreen(
.fillMaxSize()
.background(backgroundColor)
.statusBarsPadding()
.navigationBarsPadding()
) {
Column(modifier = Modifier.fillMaxSize()) {
// Simple top bar

View File

@@ -97,7 +97,7 @@ fun SetPasswordScreen(
val isPasswordWeak = password.isNotEmpty() && password.length < 6
val canContinue = passwordsMatch && !isCreating
Box(modifier = Modifier.fillMaxSize().background(backgroundColor)) {
Box(modifier = Modifier.fillMaxSize().background(backgroundColor).navigationBarsPadding()) {
Column(modifier = Modifier.fillMaxSize().statusBarsPadding()) {
// Top Bar
Row(

View File

@@ -167,7 +167,7 @@ fun UnlockScreen(
}
}
Box(modifier = Modifier.fillMaxSize().background(backgroundColor)) {
Box(modifier = Modifier.fillMaxSize().background(backgroundColor).navigationBarsPadding()) {
Column(
modifier =
Modifier.fillMaxSize()

View File

@@ -76,7 +76,7 @@ fun WelcomeScreen(
var visible by remember { mutableStateOf(false) }
LaunchedEffect(Unit) { visible = true }
Box(modifier = Modifier.fillMaxSize().background(backgroundColor)) {
Box(modifier = Modifier.fillMaxSize().background(backgroundColor).navigationBarsPadding()) {
// Back button when coming from UnlockScreen
if (hasExistingAccount) {
IconButton(onClick = onBack, modifier = Modifier.statusBarsPadding().padding(4.dp)) {