forked from MapComplete/MapComplete
Enable userlayouts in personal theme and morescreen, various small fixes
This commit is contained in:
parent
4a0970a71f
commit
328dc5577c
17 changed files with 164 additions and 150 deletions
15
test.ts
15
test.ts
|
@ -1,15 +0,0 @@
|
|||
import {OsmConnection} from "./Logic/Osm/OsmConnection";
|
||||
import {UIEventSource} from "./Logic/UIEventSource";
|
||||
|
||||
const conn = new OsmConnection(true, new UIEventSource<string>(undefined));
|
||||
conn.AttemptLogin();
|
||||
|
||||
conn.userDetails.addCallback(userDetails => {
|
||||
if (!userDetails.loggedIn) {
|
||||
return;
|
||||
}
|
||||
const str = "01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789";
|
||||
console.log(str.length);
|
||||
conn.GetLongPreference("test").setData(str);
|
||||
// console.log(got.length)
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue