Skip to content

Commit

Permalink
IntroHeader - show engine banner even for jsc
Browse files Browse the repository at this point in the history
  • Loading branch information
haochenx committed Jan 27, 2024
1 parent 14ccaab commit 4ed27ab
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion jsland/apps/mobile-app/appsrc/components/IntroHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,28 @@ const HermesBadge: FunctionComponent = () => {
</Text>
</View>
) : (
<></>
<View style={styles.badge}>
<Text
style={[
styles.badgeText,
{
color: isDarkMode ? Colors.light : Colors.dark,
},
]}
>
{`Engine: JavaScriptCore`}
</Text>
<Text
style={[
styles.badgeText,
{
color: isDarkMode ? Colors.light : Colors.dark,
},
]}
>
{`OCaml / Melange version: ${ocaml_version}`}
</Text>
</View>
);
};

Expand Down

1 comment on commit 4ed27ab

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅✅✅ Test result for 4ed27ab (Ref_name=main)

CI Job: https://github.com/kxcdev/kxc-melange-react-native-template/actions/runs/7676668762
Docker Image Variant: ghcr--ubuntu.22.04-ocaml.5.1.0-node.hydrogen-amd64

Test Result (collapsed)
++ opam env
+ eval 'OPAM_SWITCH_PREFIX='\''/root/.opam/5.1.0'\'';' export 'OPAM_SWITCH_PREFIX;' 'CAML_LD_LIBRARY_PATH='\''/root/.opam/5.1.0/lib/stublibs:/root/.opam/5.1.0/lib/ocaml/stublibs:/root/.opam/5.1.0/lib/ocaml'\'';' export 'CAML_LD_LIBRARY_PATH;' 'OCAML_TOPLEVEL_PATH='\''/root/.opam/5.1.0/lib/toplevel'\'';' export 'OCAML_TOPLEVEL_PATH;' 'MANPATH='\'':/root/.opam/5.1.0/man'\'';' export 'MANPATH;' 'PATH='\''/root/.opam/5.1.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\'';' export 'PATH;'
++ OPAM_SWITCH_PREFIX=/root/.opam/5.1.0
++ export OPAM_SWITCH_PREFIX
++ CAML_LD_LIBRARY_PATH=/root/.opam/5.1.0/lib/stublibs:/root/.opam/5.1.0/lib/ocaml/stublibs:/root/.opam/5.1.0/lib/ocaml
++ export CAML_LD_LIBRARY_PATH
++ OCAML_TOPLEVEL_PATH=/root/.opam/5.1.0/lib/toplevel
++ export OCAML_TOPLEVEL_PATH
++ MANPATH=:/root/.opam/5.1.0/man
++ export MANPATH
++ PATH=/root/.opam/5.1.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ export PATH
+ dune runtest

Please sign in to comment.