You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by wy...@apache.org on 2026/10/23 01:20:33 UTC
(maka) branch rust-preview updated: style(terminal): format the network image source condition
This is an automated email from the ASF dual-hosted git repository.
M4n5ter pushed a commit to branch rust-preview
in repository https://gitbox.apache.org/repos/asf/maka.git
The following commit(s) were added to refs/heads/rust-preview by this push:
new 19ae129a8e style(terminal): format the network image source condition
19ae129a8e is described below
commit 19ae129a8e1c579a98d1ad779ad301736f78f66f
Author: M4n5ter <m4...@gmail.com>
AuthorDate: Fri Oct 23 09:20:16 2026 +0800
style(terminal): format the network image source condition
---
products/maka/terminal-shell/app/MarkdownImage.tsx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/products/maka/terminal-shell/app/MarkdownImage.tsx b/products/maka/terminal-shell/app/MarkdownImage.tsx
index 148606a5a9..452721d5e9 100644
--- a/products/maka/terminal-shell/app/MarkdownImage.tsx
+++ b/products/maka/terminal-shell/app/MarkdownImage.tsx
@@ -117,7 +117,11 @@ export function MarkdownImageView(props: {
const content = () => (
<View style={{ gap: 4, width: width() }}>
<Each
- of={source() && !error() && (props.width === undefined || props.width() > 0) ? [source()!] : []}
+ of={
+ source() && !error() && (props.width === undefined || props.width() > 0)
+ ? [source()!]
+ : []
+ }
key={(image) => image.uri}
>
{(image) => {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org