Skip to content

Commit

Permalink
chore: remove title from default loading-screen
Browse files Browse the repository at this point in the history
  • Loading branch information
hgray-instawork committed Mar 4, 2025
1 parent 3eeb579 commit 9419d0d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions demo/backend/_includes/templates/header-no-title.xml.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<header style="header">
{% if hv_button_behavior == 'close' %}
<view action="close" href="#" style="header-btn">
{% include 'icons/close.svg' %}
</view>
{% elif hv_button_behavior == 'back' %}
<view action="back" href="#" style="header-btn">
{% include 'icons/back.svg' %}
</view>
{% endif %}
<text style="header-title"> </text>
</header>
2 changes: 1 addition & 1 deletion demo/backend/_includes/templates/loading-screen.xml.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% include 'templates/styles.xml.njk' %}
</styles>
<body style="body" safe-area="true">
{% include 'templates/header.xml.njk' %}
{% include 'templates/header-no-title.xml.njk' %}
<view style="loading">
<text style="loading-text">Loading…</text>
<spinner/>
Expand Down

0 comments on commit 9419d0d

Please sign in to comment.