Skip to content

Commit 3325ea4

Browse files
committed
ui(updater): dialog diamensions and icon
1 parent 6be7c68 commit 3325ea4

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

flathub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 746ea89cc4ff85ad2dbc05fb47efde23de4062f8

web-app/src/components/common/AppUpdater.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useEffect, useState } from 'react'
22
import { check } from '@tauri-apps/plugin-updater'
33
import { relaunch } from '@tauri-apps/plugin-process'
4-
import { Loader2 } from 'lucide-react'
4+
import { Loader2, Gift } from 'lucide-react'
55
import {
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}

0 commit comments

Comments
 (0)