From fac207f9c182347e820d052aeaa830443b6032cc Mon Sep 17 00:00:00 2001 From: Immortal Date: Sat, 2 Mar 2024 23:55:15 +0330 Subject: [PATCH] smallFix --- public/manifest.json | 4 ++-- src/helpers/randomizeElements.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/manifest.json b/public/manifest.json index 38fe01f..913e44e 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -7,13 +7,13 @@ "orientation": "portrait", "scope": "/", "short_name": "kScanner", - "start_url": "/?v1.0.6", + "start_url": "/?v1.0.7", "background_color": "#f28119", "theme_color": "#ffffff", "categories": ["utilities"], "id": "space.ircf.scanner", "bundleId": "space.ircf.scanner", - "version": "1.0.6", + "version": "1.0.7", "icons": [ { "src": "/img/icons/192.png", diff --git a/src/helpers/randomizeElements.ts b/src/helpers/randomizeElements.ts index 644d90a..cf3f159 100644 --- a/src/helpers/randomizeElements.ts +++ b/src/helpers/randomizeElements.ts @@ -1,3 +1,3 @@ export function randomizeElements(arr: T[]) { - return [...arr].sort(() => Math.random() - 0.5); + return [...arr].sort(() => 0.5 - Math.random() ); }