File tree Expand file tree Collapse file tree
web-app/src/components/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Subproject commit 746ea89cc4ff85ad2dbc05fb47efde23de4062f8
Original file line number Diff line number Diff line change 11import { useEffect , useState } from 'react'
22import { check } from '@tauri-apps/plugin-updater'
33import { relaunch } from '@tauri-apps/plugin-process'
4- import { Loader2 } from 'lucide-react'
4+ import { Loader2 , Gift } from 'lucide-react'
55import {
66 AlertDialog ,
77 AlertDialogContent ,
@@ -56,8 +56,9 @@ export function AppUpdater() {
5656 return (
5757 < AlertDialog open = { isOpen } onOpenChange = { setIsOpen } >
5858 < AlertDialogContent backdropClassName = "!bg-transparent !backdrop-blur-none"
59- className = "fixed bottom-1 left-2 translate-x-0 translate-y-0" >
60- < div className = "flex p-6" >
59+ className = "fixed bottom-1 left-2 translate-x-0 translate-y-0 w-md" >
60+ < div className = "flex px-5 py-4 items-center gap-2" >
61+ < Gift className = "w-4 h-4 text-muted-foreground" />
6162 < p className = "text-sm flex items-center text-muted-foreground" >
6263 A new version is available - { newVersion }
6364 </ p >
@@ -71,6 +72,7 @@ export function AppUpdater() {
7172 </ Button >
7273 < Button
7374 size = "sm"
75+ className = "w-24"
7476 onClick = { handleUpdate }
7577 disabled = { isUpdating }
7678 aria-busy = { isUpdating }
You can’t perform that action at this time.
0 commit comments