feat: add version string to notification

This commit is contained in:
Zamitto
2024-07-05 12:30:34 -03:00
parent 9e7b27afe6
commit b7f94102da
6 changed files with 14 additions and 6 deletions

View File

@@ -67,10 +67,13 @@ export const publishNewRepacksNotifications = async (count: number) => {
}
};
export const publishNotificationUpdateReadyToInstall = async () => {
export const publishNotificationUpdateReadyToInstall = async (
version: string
) => {
new Notification({
title: t("new_update_available", {
ns: "notifications",
version,
}),
body: t("restart_to_install_update", {
ns: "notifications",