From 67ef2b7ea7dfc31cb8d55801071f12cbbef09932 Mon Sep 17 00:00:00 2001 From: RoyceDa Date: Wed, 18 Feb 2026 19:20:27 +0200 Subject: [PATCH 1/5] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BD=D0=B5=D0=BA=D0=BB=D0=B8=D0=BA?= =?UTF-8?q?=D0=B0=D0=B1=D0=B5=D0=BB=D1=8C=D0=BD=D0=BE=D0=B9=20=D0=BA=D0=BD?= =?UTF-8?q?=D0=BE=D0=BF=D0=BA=D0=B8=20kernel=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/UpdateAlert/UpdateAlert.tsx | 5 +++-- app/providers/UpdateProvider/UpdateProvider.tsx | 4 +++- app/version.ts | 10 +++------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/app/components/UpdateAlert/UpdateAlert.tsx b/app/components/UpdateAlert/UpdateAlert.tsx index 6f90f1b..14bb2b1 100644 --- a/app/components/UpdateAlert/UpdateAlert.tsx +++ b/app/components/UpdateAlert/UpdateAlert.tsx @@ -20,7 +20,8 @@ export function UpdateAlert(props : UpdateAlertProps) { updateStatus, downloadLastApplicationUpdate, restartAppForUpdateApply, - checkForUpdates + checkForUpdates, + updateServer } = useUpdater(); useEffect(() => { @@ -34,7 +35,7 @@ export function UpdateAlert(props : UpdateAlertProps) { diff --git a/app/providers/UpdateProvider/UpdateProvider.tsx b/app/providers/UpdateProvider/UpdateProvider.tsx index 3438c26..c9b97d6 100644 --- a/app/providers/UpdateProvider/UpdateProvider.tsx +++ b/app/providers/UpdateProvider/UpdateProvider.tsx @@ -39,6 +39,7 @@ export interface UpdateContextValue { checkForUpdates: () => void; downloadLastApplicationUpdate: () => void; restartAppForUpdateApply: () => void; + updateServer: string | null; } export const UpdateProviderContext = createContext(null); @@ -167,7 +168,8 @@ export function UpdateProvider(props: UpdateProviderProps) { kernelUpdateUrl, checkForUpdates, downloadLastApplicationUpdate, - restartAppForUpdateApply + restartAppForUpdateApply, + updateServer: updateServerRef.current }}> {props.children} diff --git a/app/version.ts b/app/version.ts index 95ebf02..e7b1210 100644 --- a/app/version.ts +++ b/app/version.ts @@ -1,11 +1,7 @@ -export const APP_VERSION = "1.0.2"; +export const APP_VERSION = "1.0.3"; export const CORE_MIN_REQUIRED_VERSION = "1.4.9"; export const RELEASE_NOTICE = ` -**Update v1.0.2** :emoji_1f631: -- Support multiple file downloads -- Fix fallback after boot loading -- Fix corss-chat reading messages -- Support sync attachments on other devices -- Fix UI bugs +**Update v1.0.3** :emoji_1f631: +- Fix kernel update alert `; \ No newline at end of file From 6670956a51bba0cf62ccb1c21afb386d95e842f1 Mon Sep 17 00:00:00 2001 From: RoyceDa Date: Wed, 18 Feb 2026 19:20:55 +0200 Subject: [PATCH 2/5] =?UTF-8?q?=D0=A3=D0=BB=D1=83=D1=87=D1=88=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20Workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/windows.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/windows.yaml b/.gitea/workflows/windows.yaml index 89c6f7a..a42c27b 100644 --- a/.gitea/workflows/windows.yaml +++ b/.gitea/workflows/windows.yaml @@ -14,7 +14,7 @@ on: jobs: build: - runs-on: Windows + runs-on: windows-latest steps: - name: Checkout code uses: actions/checkout@v6 From 782f156070948e4c5382615aa4d0fe2a2983a3ab Mon Sep 17 00:00:00 2001 From: RoyceDa Date: Wed, 18 Feb 2026 20:23:17 +0200 Subject: [PATCH 3/5] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BF=D0=BB?= =?UTF-8?q?=D0=B0=D0=B2=D0=B0=D1=8E=D1=89=D0=B5=D0=B9=20=D0=B8=D0=BA=D0=BE?= =?UTF-8?q?=D0=BD=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/MessageAttachments/MessageImage.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/components/MessageAttachments/MessageImage.tsx b/app/components/MessageAttachments/MessageImage.tsx index 2361ed6..d9247d3 100644 --- a/app/components/MessageAttachments/MessageImage.tsx +++ b/app/components/MessageAttachments/MessageImage.tsx @@ -55,7 +55,7 @@ export function MessageImage(props: AttachmentProps) { return; } } - + console.info(downloadStatus); return ( setLoadedImage(true)}>)} - {((downloadStatus != DownloadStatus.DOWNLOADED && downloadStatus != DownloadStatus.PENDING) || !loadedImage) && preview.length >= 20 && ( + {((downloadStatus == DownloadStatus.NOT_DOWNLOADED) || !loadedImage) && preview.length >= 20 && ( <> - - + + {!error && ( )} - + )} From 4248abc629e76b2bd76d9f27e677177ff1b65c20 Mon Sep 17 00:00:00 2001 From: RoyceDa Date: Wed, 18 Feb 2026 20:23:49 +0200 Subject: [PATCH 4/5] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BF=D0=BB?= =?UTF-8?q?=D0=B0=D0=B2=D0=B0=D1=8E=D1=89=D0=B5=D0=B9=20=D0=B8=D0=BA=D0=BE?= =?UTF-8?q?=D0=BD=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/version.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/version.ts b/app/version.ts index e7b1210..68773cb 100644 --- a/app/version.ts +++ b/app/version.ts @@ -4,4 +4,5 @@ export const CORE_MIN_REQUIRED_VERSION = "1.4.9"; export const RELEASE_NOTICE = ` **Update v1.0.3** :emoji_1f631: - Fix kernel update alert +- Fix UI bugs. `; \ No newline at end of file From 2692c941e1cf775ba4fc6d6093861ab14946333d Mon Sep 17 00:00:00 2001 From: RoyceDa Date: Wed, 18 Feb 2026 20:30:07 +0200 Subject: [PATCH 5/5] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=82=D0=B5=D0=BC=D0=BD=D0=B0=D1=8F=20=D0=BF=D0=BE=D0=B4=D0=BE?= =?UTF-8?q?=D0=BB=D0=B6=D0=BA=D0=B0=20=D1=83=20=D1=84=D0=BE=D1=82=D0=BE?= =?UTF-8?q?=D0=B3=D1=80=D0=B0=D1=84=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MessageAttachments/MessageImage.tsx | 84 +++++++++---------- 1 file changed, 41 insertions(+), 43 deletions(-) diff --git a/app/components/MessageAttachments/MessageImage.tsx b/app/components/MessageAttachments/MessageImage.tsx index d9247d3..5e22afe 100644 --- a/app/components/MessageAttachments/MessageImage.tsx +++ b/app/components/MessageAttachments/MessageImage.tsx @@ -13,12 +13,12 @@ import { DownloadStatus, useAttachment } from "@/app/providers/AttachmentProvide export function MessageImage(props: AttachmentProps) { const colors = useRosettaColors(); const { - downloadPercentage, - uploadedPercentage, - download, + downloadPercentage, + uploadedPercentage, + download, downloadStatus, getBlob, - getPreview} = useAttachment(props.attachment, props.chacha_key_plain); + getPreview } = useAttachment(props.attachment, props.chacha_key_plain); const mainRef = useRef(null); const error = downloadStatus == DownloadStatus.ERROR; const { open } = useImageViewer(); @@ -55,7 +55,6 @@ export function MessageImage(props: AttachmentProps) { return; } } - console.info(downloadStatus); return ( - - - {!error && ( - - {downloadPercentage > 0 ? ( - - ) : ( - - )} - - )} - {error && ( - - - Image expired - - - - )} - - )} @@ -149,6 +110,43 @@ export function MessageImage(props: AttachmentProps) { )} + + {(downloadStatus == DownloadStatus.NOT_DOWNLOADED || downloadStatus == DownloadStatus.DOWNLOADING) && ( + {!error && ( + + {downloadPercentage > 0 ? ( + + ) : ( + + )} + + )} + {error && ( + + + Image expired + + + + )} + )} ); }