From 833dcf10486d2e8ddb767d1a97ffae0c1c0d8dc2 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Mon, 27 Apr 2026 21:49:07 -0400 Subject: [PATCH] Fixes size of Send icons --- .../amethyst/ui/navigation/drawer/DrawerContent.kt | 3 ++- .../amethyst/ui/screen/loggedIn/chats/utils/ThinSendButton.kt | 4 ++-- .../amethyst/ui/screen/loggedIn/nests/room/NestFullScreen.kt | 3 +-- .../ui/screen/loggedIn/relays/RelayInformationScreen.kt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/navigation/drawer/DrawerContent.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/navigation/drawer/DrawerContent.kt index fe07aa6be..e208de7e2 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/navigation/drawer/DrawerContent.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/navigation/drawer/DrawerContent.kt @@ -123,6 +123,7 @@ import com.vitorpamplona.amethyst.ui.theme.Size20Modifier import com.vitorpamplona.amethyst.ui.theme.Size22Modifier import com.vitorpamplona.amethyst.ui.theme.Size22ModifierWith4Padding import com.vitorpamplona.amethyst.ui.theme.Size24Modifier +import com.vitorpamplona.amethyst.ui.theme.Size25Modifier import com.vitorpamplona.amethyst.ui.theme.Size26Modifier import com.vitorpamplona.amethyst.ui.theme.StdHorzSpacer import com.vitorpamplona.amethyst.ui.theme.TextStyleBottomNavBar @@ -463,7 +464,7 @@ fun SendButton( Icon( symbol = MaterialSymbols.AutoMirrored.Send, null, - modifier = Size20Modifier, + modifier = Size25Modifier, tint = tint, ) } diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/utils/ThinSendButton.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/utils/ThinSendButton.kt index c14ba9d46..a8c370a37 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/utils/ThinSendButton.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/utils/ThinSendButton.kt @@ -27,7 +27,7 @@ import com.vitorpamplona.amethyst.R import com.vitorpamplona.amethyst.commons.icons.symbols.Icon import com.vitorpamplona.amethyst.commons.icons.symbols.MaterialSymbols import com.vitorpamplona.amethyst.ui.stringRes -import com.vitorpamplona.amethyst.ui.theme.Size20Modifier +import com.vitorpamplona.amethyst.ui.theme.Size25Modifier @Composable fun ThinSendButton( @@ -43,7 +43,7 @@ fun ThinSendButton( Icon( symbol = MaterialSymbols.AutoMirrored.Send, contentDescription = stringRes(id = R.string.accessibility_send), - modifier = Size20Modifier, + modifier = Size25Modifier, ) } } diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/nests/room/NestFullScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/nests/room/NestFullScreen.kt index e2e7de16e..82cf53529 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/nests/room/NestFullScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/nests/room/NestFullScreen.kt @@ -240,8 +240,7 @@ internal fun NestFullScreen( accountViewModel = accountViewModel, modifier = Modifier - .weight(1f) - .padding(horizontal = 16.dp), + .weight(1f), ) } diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/relays/RelayInformationScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/relays/RelayInformationScreen.kt index 1a916a519..0d686afd0 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/relays/RelayInformationScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/relays/RelayInformationScreen.kt @@ -949,7 +949,7 @@ private fun OutboxEventsCard(eventIds: Set) { Icon( symbol = MaterialSymbols.AutoMirrored.Send, contentDescription = null, - modifier = Modifier.size(12.dp), + modifier = Modifier.size(18.dp), tint = MaterialTheme.colorScheme.onTertiaryContainer, ) Text(