feat: Add window insets padding to ChatsListScreen and adjust button height in BackupScreen
This commit is contained in:
@@ -371,7 +371,6 @@ fun ChatsListScreen(
|
|||||||
modifier =
|
modifier =
|
||||||
Modifier.fillMaxSize()
|
Modifier.fillMaxSize()
|
||||||
.background(drawerBackgroundColor)
|
.background(drawerBackgroundColor)
|
||||||
.windowInsetsPadding(WindowInsets.statusBars)
|
|
||||||
) {
|
) {
|
||||||
// ═══════════════════════════════════════════════════════════
|
// ═══════════════════════════════════════════════════════════
|
||||||
// 🎨 DRAWER HEADER - Avatar and status
|
// 🎨 DRAWER HEADER - Avatar and status
|
||||||
@@ -386,6 +385,7 @@ fun ChatsListScreen(
|
|||||||
Box(
|
Box(
|
||||||
modifier =
|
modifier =
|
||||||
Modifier.fillMaxWidth()
|
Modifier.fillMaxWidth()
|
||||||
|
.windowInsetsPadding(WindowInsets.statusBars)
|
||||||
.background(
|
.background(
|
||||||
color = headerColor
|
color = headerColor
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -249,7 +249,9 @@ fun BackupScreen(
|
|||||||
val clip = android.content.ClipData.newPlainText("Seed Phrase", seedPhrase)
|
val clip = android.content.ClipData.newPlainText("Seed Phrase", seedPhrase)
|
||||||
clipboard.setPrimaryClip(clip)
|
clipboard.setPrimaryClip(clip)
|
||||||
},
|
},
|
||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier
|
||||||
|
.fillMaxWidth()
|
||||||
|
.height(52.dp),
|
||||||
colors = ButtonDefaults.buttonColors(
|
colors = ButtonDefaults.buttonColors(
|
||||||
containerColor = Color(0xFF248AE6)
|
containerColor = Color(0xFF248AE6)
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user