Skip to content

Commit

Permalink
fix notify refresh update app not auto hide
Browse files Browse the repository at this point in the history
  • Loading branch information
tachibana-shin authored Jun 13, 2023
1 parent 163135b commit 32f4a01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-pwa/register-service-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ register(process.env.SERVICE_WORKER_FILE, {
Notify.create({
message: i18n.global.t("ung-dung-da-duoc-cap-nhat"),
position: "bottom-right",
timeout: 0,
timeout: 1500,
actions: [
{
label: i18n.global.t("lam-moi-ngay"),
Expand All @@ -49,7 +49,7 @@ register(process.env.SERVICE_WORKER_FILE, {
},
{
label: i18n.global.t("de-sau"),
round: true,
noCaps: true,
},
],
})
Expand Down

0 comments on commit 32f4a01

Please sign in to comment.