From 591fd262b3bc8c5a8fc0d572f3944eaf5d4bd32e Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 15 Oct 2025 18:55:46 +0300 Subject: [PATCH] make sure border radius matches inset border (#9207) --- src/view/com/composer/photos/Gallery.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/view/com/composer/photos/Gallery.tsx b/src/view/com/composer/photos/Gallery.tsx index a66d65d97a..ae31a9b074 100644 --- a/src/view/com/composer/photos/Gallery.tsx +++ b/src/view/com/composer/photos/Gallery.tsx @@ -19,7 +19,7 @@ import {colors, s} from '#/lib/styles' import {isNative} from '#/platform/detection' import {type ComposerImage, cropImage} from '#/state/gallery' import {Text} from '#/view/com/util/text/Text' -import {useTheme} from '#/alf' +import {tokens, useTheme} from '#/alf' import * as Dialog from '#/components/Dialog' import {MediaInsetBorder} from '#/components/MediaInsetBorder' import {type PostAction} from '../state/composer' @@ -275,12 +275,12 @@ const styles = StyleSheet.create({ }, image: { resizeMode: 'cover', - borderRadius: 8, + borderRadius: tokens.borderRadius.md, }, imageControl: { width: 24, height: 24, - borderRadius: 12, + borderRadius: tokens.borderRadius.md, backgroundColor: 'rgba(0, 0, 0, 0.75)', alignItems: 'center', justifyContent: 'center',