UX: add popup indicating "logged in as"

This commit is contained in:
Pieter Vander Vennet 2025-06-07 13:31:36 +02:00
parent 886b25c0b4
commit 89ba8ce2c1
3 changed files with 42 additions and 2 deletions

View file

@ -14,7 +14,6 @@
let open = true
function showFor(timeoutSeconds: number = 5) {
console.trace("Showing for", timeoutSeconds)
open = true
window.setTimeout(() => {
open = false
@ -36,7 +35,7 @@
})
let explanation = gpsState.gpsStateExplanation
onDestroy(
explanation.addCallbackD(
explanation.stabilized(50).addCallbackD(
expl => {
if (expl) {
showFor(5)