- {#each buttonChunks as chunk}
-
- {#each chunk as s}
+ {#if $settings.isLoaded === false}
+
+ {:else}
+ {#if $settings.screens}
+
+ {#each buttonChunks as chunk}
+
+ {#each chunk as s}
+
+ {/each}
+
+ {/each}
+
+
+
+ {#each $settings.screens as s}
- {/each}
-
-
-
- {#each $settings.screens as s}
-
- {/each}
-
-
- {#if $settings.actCurrencies && $settings.ownDataSource}
-
-
- {#each $settings.actCurrencies as c}
-
- {/each}
-
- {/if}
-
- {#if $status.data}
-
- {$_('section.status.screenCycle')}:
- {#if $status.timerRunning}⏵ {$_('timer.running')}{:else}⏸ {$_(
- 'timer.stopped'
- )}{/if}
- {/if}
- {/if}
-
- {#if !$settings.disableLeds}
-
- {#if $status.leds}
- {#each $status.leds as led}
-
-
-
- {/each}
+ {#if $settings.actCurrencies && $settings.ownDataSource}
+
+
+ {#each $settings.actCurrencies as c}
+
+ {/each}
+
+
{/if}
-
+
+ {#if $status.data}
+
+ {#if $status.isUpdating === false}
+
+
+
+
Lost connection
+
Trying to reconnect...
+
+
+ {/if}
+
+
+ {$_('section.status.screenCycle')}:
+ {#if $status.timerRunning}⏵ {$_('timer.running')}{:else}⏸ {$_(
+ 'timer.stopped'
+ )}{/if}
+ {/if}
+ {/if}
- {/if}
-
-
-
{$_('section.status.memoryFree')}
-
- {Math.round($status.espFreeHeap / 1024)} / {Math.round($status.espHeapSize / 1024)} KiB
-
-
-
- {#if $settings.hasLightLevel}
- {$_('section.status.lightSensor')}: {Number(Math.round($status.lightLevel))} lux
-
- {/if}
-
- {$_('rssiBar.tooltip')}
-
-
-
{$_('section.status.wifiSignalStrength')}
-
- {$status.rssi} dBm
-
-
-
- {$_('section.status.uptime')}: {toUptimestring($status.espUptime)}
-
-
- {#if $settings.dataSource == DataSourceType.NOSTR_SOURCE || $settings.nostrZapNotify}
- {$_('section.status.nostrConnection')}:
-
- {#if $status.connectionStatus && $status.connectionStatus.nostr}
- ✅
- {:else}
- ❌
+ {#if !$settings.disableLeds}
+
+ {#if $status.leds}
+ {#each $status.leds as led}
+
+
+
+ {/each}
{/if}
-
+
+
{/if}
- {#if $settings.dataSource != DataSourceType.NOSTR_SOURCE}
- {#if $settings.dataSource == DataSourceType.THIRD_PARTY_SOURCE}
- {$_('section.status.wsPriceConnection')}:
+
+
+
{$_('section.status.memoryFree')}
+
+ {Math.round($status.espFreeHeap / 1024)} / {Math.round($status.espHeapSize / 1024)} KiB
+
+
+
+ {#if $settings.hasLightLevel}
+ {$_('section.status.lightSensor')}: {Number(Math.round($status.lightLevel))} lux
+
+ {/if}
+
+ {$_('rssiBar.tooltip')}
+
+
+
{$_('section.status.wifiSignalStrength')}
+
+ {$status.rssi} dBm
+
+
+
+ {$_('section.status.uptime')}: {toUptimestring($status.espUptime)}
+
+
+ {#if $settings.dataSource == DataSourceType.NOSTR_SOURCE || $settings.nostrZapNotify}
+ {$_('section.status.nostrConnection')}:
- {#if $status.connectionStatus && $status.connectionStatus.price}
- ✅
- {:else}
- ❌
- {/if}
-
- -
- {$_('section.status.wsMempoolConnection', {
- values: { instance: $settings.mempoolInstance }
- })}:
-
- {#if $status.connectionStatus && $status.connectionStatus.blocks}
- ✅
- {:else}
- ❌
- {/if}
-
- {:else}
- {$_('section.status.wsDataConnection')}:
-
- {#if $status.connectionStatus && $status.connectionStatus.V2}
+ {#if $status.connectionStatus && $status.connectionStatus.nostr}
✅
{:else}
❌
{/if}
{/if}
- {/if}
- {#if $settings.fetchEurPrice}
- {$_('section.status.fetchEuroNote')}
- {/if}
-
+ {#if $settings.dataSource != DataSourceType.NOSTR_SOURCE}
+ {#if $settings.dataSource == DataSourceType.THIRD_PARTY_SOURCE}
+ {$_('section.status.wsPriceConnection')}:
+
+ {#if $status.connectionStatus && $status.connectionStatus.price}
+ ✅
+ {:else}
+ ❌
+ {/if}
+
+ -
+ {$_('section.status.wsMempoolConnection', {
+ values: { instance: $settings.mempoolInstance }
+ })}:
+
+ {#if $status.connectionStatus && $status.connectionStatus.blocks}
+ ✅
+ {:else}
+ ❌
+ {/if}
+
+ {:else}
+ {$_('section.status.wsDataConnection')}:
+
+ {#if $status.connectionStatus && $status.connectionStatus.V2}
+ ✅
+ {:else}
+ ❌
+ {/if}
+
+ {/if}
+ {/if}
+ {#if $settings.fetchEurPrice}
+ {$_('section.status.fetchEuroNote')}
+ {/if}
+
+ {/if}
+
+