fix: we're so back (again) (again) (again) (again)

This commit is contained in:
Dziurwa14
2026-02-13 17:56:10 +01:00
parent e43af7e6a0
commit 3cadb5d7d8
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -379,13 +379,13 @@ async function verify(qrCodeUrlStr: string) {
const generateTimeline = (maxTime: number) => {
const entries = [];
let lastTime = randomInt(100, 500);
let lastTime = randomInt(1, 5);
for (let i = 0; i < randomInt(1, 3); i++) {
const end = lastTime + randomInt(500, 2000);
const end = lastTime + randomInt(5, 20);
if (end < maxTime) {
entries.push([lastTime, end]);
lastTime = end + randomInt(200, 1000);
lastTime = end + randomInt(20, 100);
}
}
return entries;
+1 -1
View File
@@ -1,7 +1,7 @@
<script lang="ts">
import QRCodeScanner from '$lib/components/QRCodeScanner.svelte';
const IS_PATCHED = true;
const IS_PATCHED = false;
</script>
<div class="mx-auto w-screen max-w-6xl items-center p-5 pb-16">
+3 -3
View File
@@ -423,13 +423,13 @@ async function verify(
const generateTimeline = (maxTime: number) => {
const entries = [];
let lastTime = randomInt(100, 500);
let lastTime = randomInt(1, 5);
for (let i = 0; i < randomInt(1, 3); i++) {
const end = lastTime + randomInt(500, 2000);
const end = lastTime + randomInt(5, 20);
if (end < maxTime) {
entries.push([lastTime, end]);
lastTime = end + randomInt(200, 1000);
lastTime = end + randomInt(20, 100);
}
}
return entries;