From e1cbfbb2808c47deee66d3c8ad4db68ae909e2bb Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Thu, 23 Oct 2025 17:46:26 -0400 Subject: [PATCH] Fixes large top bars on these screens --- .../chats/publicChannels/ephemChat/EphemeralChatScreen.kt | 3 +-- .../publicChannels/nip28PublicChat/PublicChatChannelScreen.kt | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/publicChannels/ephemChat/EphemeralChatScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/publicChannels/ephemChat/EphemeralChatScreen.kt index 3811b92db1..70d6d7f455 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/publicChannels/ephemChat/EphemeralChatScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/publicChannels/ephemChat/EphemeralChatScreen.kt @@ -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.padding -import androidx.compose.foundation.layout.statusBarsPadding import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import com.vitorpamplona.amethyst.model.Note @@ -49,7 +48,7 @@ fun EphemeralChatScreen( }, accountViewModel = accountViewModel, ) { - Column(Modifier.padding(it).statusBarsPadding()) { + Column(Modifier.padding(it)) { EphemeralChatChannelView(channelId, draft, replyTo, accountViewModel, nav) } } diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/publicChannels/nip28PublicChat/PublicChatChannelScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/publicChannels/nip28PublicChat/PublicChatChannelScreen.kt index e8c2f8157b..c5796b7ae1 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/publicChannels/nip28PublicChat/PublicChatChannelScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/publicChannels/nip28PublicChat/PublicChatChannelScreen.kt @@ -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.padding -import androidx.compose.foundation.layout.statusBarsPadding import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import com.vitorpamplona.amethyst.model.Note @@ -52,7 +51,7 @@ fun PublicChatChannelScreen( }, accountViewModel = accountViewModel, ) { - Column(Modifier.padding(it).statusBarsPadding()) { + Column(Modifier.padding(it)) { PublicChatChannelView(channelId, draft, replyTo, accountViewModel, nav) } }