forked from MapComplete/MapComplete
UX: add popup indicating "logged in as"
This commit is contained in:
parent
886b25c0b4
commit
89ba8ce2c1
3 changed files with 42 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue