forked from MapComplete/MapComplete
Various fixes, enabled preciseLocation input by default
This commit is contained in:
parent
8fca373437
commit
8ebfb3de51
6 changed files with 71 additions and 41 deletions
|
@ -63,9 +63,14 @@ export default class UserRelatedState extends ElementsState {
|
|||
);
|
||||
|
||||
if (layoutToUse?.hideFromOverview) {
|
||||
this.osmConnection
|
||||
.GetPreference("hidden-theme-" + layoutToUse?.id + "-enabled")
|
||||
.setData("true");
|
||||
this.osmConnection.isLoggedIn.addCallbackAndRunD(loggedIn => {
|
||||
if(loggedIn){
|
||||
this.osmConnection
|
||||
.GetPreference("hidden-theme-" + layoutToUse?.id + "-enabled")
|
||||
.setData("true");
|
||||
return true;
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
this.installedThemes = new InstalledThemes(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue