Lint & add comments
This commit is contained in:
parent
5abbd5d8ee
commit
b0192aae23
3 changed files with 4 additions and 5 deletions
|
|
@ -22,9 +22,7 @@ export class SyncService {
|
|||
public constructor(private readonly settings: Settings) {
|
||||
this.createClient(settings.getSettings());
|
||||
|
||||
settings.addOnSettingsChangeHandlers((s) => {
|
||||
this.createClient(s);
|
||||
});
|
||||
settings.addOnSettingsChangeHandlers(this.createClient.bind(this));
|
||||
}
|
||||
|
||||
private static formatError(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue