forked from MapComplete/MapComplete
Refactoring: remove last uses of 'GetLongPreference'
This commit is contained in:
parent
22c8a45012
commit
2bb38e0a61
2 changed files with 3 additions and 8 deletions
|
@ -172,11 +172,6 @@ export class OsmConnection {
|
|||
): UIEventSource<T | undefined> {
|
||||
return <UIEventSource<T>>this.preferencesHandler.getPreference(key, defaultValue, prefix)
|
||||
}
|
||||
|
||||
public GetLongPreference(key: string, prefix: string = "mapcomplete-"): UIEventSource<string> {
|
||||
return this.preferencesHandler.getPreference(key, prefix)
|
||||
}
|
||||
|
||||
public OnLoggedIn(action: (userDetails: UserDetails) => void) {
|
||||
this._onLoggedIn.push(action)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue