Android: add an Info button to the top bar that opens the About panel

This commit is contained in:
Yuri Karamian
2026-06-25 12:37:12 +02:00
parent b10a7b1bfc
commit 761bf5b42e
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -870,6 +870,13 @@
<line x1="3" y1="10" x2="21" y2="10" /> <line x1="3" y1="10" x2="21" y2="10" />
</svg> </svg>
</button> </button>
<button class="mobile-header-btn" onclick={() => ($showInfo = true)} title="Info">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="10" />
<line x1="12" y1="16" x2="12" y2="12" />
<line x1="12" y1="8" x2="12.01" y2="8" />
</svg>
</button>
<button class="mobile-header-btn" onclick={() => ($showSettings = true)} title="Settings"> <button class="mobile-header-btn" onclick={() => ($showSettings = true)} title="Settings">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="3" /> <circle cx="12" cy="12" r="3" />
+1 -1
View File
@@ -96,7 +96,7 @@
function close() { function close() {
$showInfo = false; $showInfo = false;
activeTab = 'shortcuts'; activeTab = isMobile ? 'about' : 'shortcuts';
} }
function openLink(url: string) { function openLink(url: string) {