feature(usersettings): Add option to show all questions at once

This commit is contained in:
Pieter Vander Vennet 2023-03-08 01:36:27 +01:00
parent 7bd3fcd490
commit 60f3499eb0
10 changed files with 72 additions and 26 deletions

View file

@ -161,9 +161,12 @@ export class OsmConnection {
public GetPreference(
key: string,
defaultValue: string = undefined,
prefix: string = "mapcomplete-"
options?: {
documentation?: string
prefix?: string
}
): UIEventSource<string> {
return this.preferencesHandler.GetPreference(key, defaultValue, prefix)
return this.preferencesHandler.GetPreference(key, defaultValue, options)
}
public GetLongPreference(key: string, prefix: string = "mapcomplete-"): UIEventSource<string> {