forked from MapComplete/MapComplete
Android: more android development, working version
This commit is contained in:
parent
6224ff2c09
commit
770a4bab55
6 changed files with 11 additions and 3 deletions
|
@ -4,6 +4,7 @@ import { Utils } from "../src/Utils"
|
|||
import { UIEventSource } from "../src/Logic/UIEventSource"
|
||||
import { VariableUiElement } from "../src/UI/Base/VariableUIElement"
|
||||
import Combine from "../src/UI/Base/Combine"
|
||||
import { QueryParameters } from "../src/Logic/Web/QueryParameters"
|
||||
|
||||
console.log("Authorizing...")
|
||||
const key = Constants.osmAuthConfig.url + "oauth2_state"
|
||||
|
@ -36,6 +37,7 @@ connection.finishLogin(async () => {
|
|||
debug.set(dbg)
|
||||
|
||||
if (attempt > 10) {
|
||||
QueryParameters.ClearAll()
|
||||
window.location.reload()
|
||||
}
|
||||
} while (!token)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue