We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6995dc0 commit e2e1736Copy full SHA for e2e1736
src/v3/classes/User.ts
@@ -301,9 +301,23 @@ export class User {
301
302
const profile = structuredClone(this.profile);
303
profile.congregation = undefined;
304
-
305
await this.updateProfile(profile);
306
+ const settings = structuredClone(this.settings);
307
+ settings.backup_automatic = '';
308
+ settings.data_view = '';
309
+ settings.hour_credits_enabled = '';
310
+ settings.theme_follow_os_enabled = '';
311
+ await this.updateSettings(settings);
312
+
313
+ await this.updateSessions([]);
314
315
+ await this.saveFieldServiceReports([]);
316
317
+ await this.saveBibleStudies([]);
318
319
+ await this.saveDelegatedFieldServiceReports([]);
320
321
if (cong) {
322
await cong.reloadMembers();
323
}
0 commit comments