Skip to content

Commit

Permalink
Merge branch 'feat/backup-detected' of github.com:enkryptcom/enKrypt …
Browse files Browse the repository at this point in the history
…into feat/backup-detected
  • Loading branch information
gamalielhere committed Feb 12, 2025
2 parents 7888dbc + 75a393f commit 3cf90f1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/extension/src/libs/backup-state/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ class BackupState {
}
}
}
await this.setUserId(decryptedBackup.uuid);
}
});
}
Expand Down Expand Up @@ -354,11 +353,6 @@ class BackupState {
return state.userId;
}

async setUserId(userId: string): Promise<void> {
const state: IState = await this.getState();
await this.setState({ ...state, userId });
}

async disableBackups(): Promise<void> {
const state: IState = await this.getState();
await this.setState({ ...state, enabled: false });
Expand Down

0 comments on commit 3cf90f1

Please sign in to comment.