File tree Expand file tree Collapse file tree
mobile/src/features/threads Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1610,14 +1610,17 @@ function ToolActivityImage(props: {
16101610 < View
16111611 style = { [
16121612 StyleSheet . absoluteFill ,
1613- props . themeAppearance === "light" ? { filter : [ { brightness : 0.6 } ] } : undefined ,
1613+ props . themeAppearance === "light" ? { filter : [ { brightness : 0.7 } ] } : undefined ,
16141614 ] }
16151615 >
16161616 < Image
16171617 source = { props . source }
16181618 cachePolicy = "memory-disk"
16191619 contentFit = "contain"
1620- style = { [ StyleSheet . absoluteFill , { opacity : loaded ? 0.7 : 0 } ] }
1620+ style = { [
1621+ StyleSheet . absoluteFill ,
1622+ { opacity : loaded ? ( props . themeAppearance === "dark" ? 0.7 : 1 ) : 0 } ,
1623+ ] }
16211624 onLoad = { ( ) => setLoaded ( true ) }
16221625 onError = { ( ) => setFailed ( true ) }
16231626 />
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ function ToolActivityImageIcon(props: {
194194 className = { cn (
195195 props . className ,
196196 "inline-block overflow-hidden rounded-xs bg-background" ,
197- props . muted && "opacity-70" ,
197+ props . muted && "dark: opacity-70" ,
198198 ) }
199199 >
200200 < img
@@ -203,7 +203,7 @@ function ToolActivityImageIcon(props: {
203203 aria-hidden
204204 decoding = "async"
205205 referrerPolicy = "no-referrer"
206- className = { cn ( "block size-full object-contain" , props . muted && "light:brightness-60 " ) }
206+ className = { cn ( "block size-full object-contain" , props . muted && "light:brightness-70 " ) }
207207 onError = { ( ) => handleLoadError ( displayedSrc ) }
208208 />
209209 </ span >
You can’t perform that action at this time.
0 commit comments