Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/components/download/DownloadScript.astro
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@
const twilightInfoElem = document.getElementById('twilight-info')
twilightInfoElem?.setAttribute('data-twilight', 'true')

// Hide Flathub button
const flathubButtonElem = document.getElementById('download-from-flathub');
flathubButtonElem?.classList.add('hidden');

// Update UI to show twilight mode with animation
const titleElem = document.getElementById('download-title')
if (titleElem) {
Expand Down
1 change: 1 addition & 0 deletions src/components/download/PlatformDownload.astro
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ function getReleaseLink(releases: PlatformReleases, { os, cpu }: { os: string; c
{
platform === 'linux' && (
<Button
id="download-from-flathub"
class="download-button w-fit"
href={releases.flathub?.all.link || ''}
aria-label="Download from Flathub"
Expand Down