Refactoring: remove last uses of 'GetLongPreference'

This commit is contained in:
Pieter Vander Vennet 2024-09-24 17:52:46 +02:00
parent 22c8a45012
commit 2bb38e0a61
2 changed files with 3 additions and 8 deletions

View file

@ -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)
}