From 1df4d1db1005418b4ee3b7120d42566bd1ed4b83 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Mon, 17 Mar 2025 14:30:17 -0400 Subject: [PATCH] Removes debugging red border for full screen video --- .../amethyst/ui/components/ZoomableContentDialog.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/ZoomableContentDialog.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/ZoomableContentDialog.kt index 5a4578110..ff4b2c795 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/ZoomableContentDialog.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/ZoomableContentDialog.kt @@ -28,7 +28,6 @@ import android.widget.Toast import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.fadeIn import androidx.compose.animation.fadeOut -import androidx.compose.foundation.border import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Arrangement.spacedBy import androidx.compose.foundation.layout.Box @@ -60,11 +59,9 @@ import androidx.compose.runtime.remember import androidx.compose.runtime.rememberCoroutineScope import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier -import androidx.compose.ui.graphics.Color import androidx.compose.ui.layout.ContentScale import androidx.compose.ui.platform.LocalConfiguration import androidx.compose.ui.platform.LocalContext -import androidx.compose.ui.unit.dp import androidx.compose.ui.window.Dialog import androidx.compose.ui.window.DialogProperties import androidx.core.net.toUri @@ -428,7 +425,7 @@ private fun RenderImageOrVideo( if (roundedCorner) { MaterialTheme.colorScheme.imageModifier } else { - Modifier.fillMaxWidth().border(1.dp, Color.Red) + Modifier.fillMaxWidth() } val ratio = content.dim?.aspectRatio() ?: MediaAspectRatioCache.get(content.url)