Fixes large top bars on these screens

This commit is contained in:
Vitor Pamplona
2025-10-23 17:46:26 -04:00
parent b6aec40e9a
commit e1cbfbb280
2 changed files with 2 additions and 4 deletions
@@ -22,7 +22,6 @@ package com.vitorpamplona.amethyst.ui.screen.loggedIn.chats.publicChannels.ephem
import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.statusBarsPadding
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier import androidx.compose.ui.Modifier
import com.vitorpamplona.amethyst.model.Note import com.vitorpamplona.amethyst.model.Note
@@ -49,7 +48,7 @@ fun EphemeralChatScreen(
}, },
accountViewModel = accountViewModel, accountViewModel = accountViewModel,
) { ) {
Column(Modifier.padding(it).statusBarsPadding()) { Column(Modifier.padding(it)) {
EphemeralChatChannelView(channelId, draft, replyTo, accountViewModel, nav) EphemeralChatChannelView(channelId, draft, replyTo, accountViewModel, nav)
} }
} }
@@ -22,7 +22,6 @@ package com.vitorpamplona.amethyst.ui.screen.loggedIn.chats.publicChannels.nip28
import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.statusBarsPadding
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier import androidx.compose.ui.Modifier
import com.vitorpamplona.amethyst.model.Note import com.vitorpamplona.amethyst.model.Note
@@ -52,7 +51,7 @@ fun PublicChatChannelScreen(
}, },
accountViewModel = accountViewModel, accountViewModel = accountViewModel,
) { ) {
Column(Modifier.padding(it).statusBarsPadding()) { Column(Modifier.padding(it)) {
PublicChatChannelView(channelId, draft, replyTo, accountViewModel, nav) PublicChatChannelView(channelId, draft, replyTo, accountViewModel, nav)
} }
} }