From a195167a56e78462010f46e72865634a765a2271 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Tue, 24 Dec 2024 17:55:26 -0500 Subject: [PATCH] Fixes keyboard overriding the relay settings screen --- .../amethyst/ui/actions/relays/AllRelayListView.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/actions/relays/AllRelayListView.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/actions/relays/AllRelayListView.kt index c2e94b46b..36967c258 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/actions/relays/AllRelayListView.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/actions/relays/AllRelayListView.kt @@ -27,6 +27,7 @@ import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.consumeWindowInsets import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth +import androidx.compose.foundation.layout.imePadding import androidx.compose.foundation.layout.padding import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.material3.ExperimentalMaterial3Api @@ -174,7 +175,8 @@ fun MappedAllRelayListView( end = 10.dp, top = pad.calculateTopPadding(), bottom = pad.calculateBottomPadding(), - ).consumeWindowInsets(pad), + ).consumeWindowInsets(pad) + .imePadding(), ) { item { SettingsCategory(