mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-25 21:25:20 +00:00
Replace BoxWithConstraints with Box since constraints are unused
This commit is contained in:
@@ -86,7 +86,7 @@ fun ChatScreen(viewModel: ChatViewModel) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Use WindowInsets to handle keyboard properly
|
// Use WindowInsets to handle keyboard properly
|
||||||
BoxWithConstraints(modifier = Modifier.fillMaxSize()) {
|
Box(modifier = Modifier.fillMaxSize()) {
|
||||||
val headerHeight = 36.dp
|
val headerHeight = 36.dp
|
||||||
|
|
||||||
// Main content area that responds to keyboard/window insets
|
// Main content area that responds to keyboard/window insets
|
||||||
|
|||||||
Reference in New Issue
Block a user