diff --git a/src/tribler/ui/src/services/tribler.service.ts b/src/tribler/ui/src/services/tribler.service.ts index 3daa951e9b..5e056554ed 100644 --- a/src/tribler/ui/src/services/tribler.service.ts +++ b/src/tribler/ui/src/services/tribler.service.ts @@ -294,7 +294,7 @@ export class TriblerService { async setSettings(settings: Partial): Promise { try { - this.guiSettings = {...settings?.ui, ...this.guiSettings}; + this.guiSettings = {...this.guiSettings, ...settings?.ui}; return (await this.http.post('/settings', settings)).data.modified; } catch (error) { return formatAxiosError(error as Error | AxiosError);