forked from MapComplete/MapComplete
		
	Fix autoapply for GRB theme
This commit is contained in:
		
							parent
							
								
									db770f2c35
								
							
						
					
					
						commit
						30be86668e
					
				
					 16 changed files with 392 additions and 209 deletions
				
			
		|  | @ -126,6 +126,9 @@ export default class MoreScreen extends Combine { | |||
|         for (let i = 0; i < length; i++) { | ||||
|             str += allPreferences[id + "-" + i] | ||||
|         } | ||||
|         if(str === undefined || str === "undefined"){ | ||||
|             return undefined | ||||
|         } | ||||
|         try { | ||||
|             const value: { | ||||
|                 id: string | ||||
|  | @ -157,13 +160,9 @@ export default class MoreScreen extends Combine { | |||
| 
 | ||||
|                 return ids | ||||
|             }); | ||||
|         currentIds.addCallback(ids => { | ||||
|         console.log("Current special ids are:", ids) | ||||
|         }) | ||||
| 
 | ||||
|         var stableIds = UIEventSource.ListStabilized<string>(currentIds) | ||||
|         currentIds.addCallback(ids => { | ||||
|             console.log("Stabilized special ids are:", ids) | ||||
|         }) | ||||
| 
 | ||||
|         return new VariableUiElement( | ||||
|             stableIds.map(ids => { | ||||
|                 const allThemes: BaseUIElement[] = [] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue