Provide a button to clear session data (#231)

Fixes #214

---------

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
This commit is contained in:
Will Chen
2025-05-22 16:36:45 -07:00
committed by GitHub
parent 830e4ece15
commit e119a670ec
5 changed files with 60 additions and 1 deletions

View File

@@ -821,4 +821,8 @@ export class IpcClient {
public async renameBranch(params: RenameBranchParams): Promise<void> {
await this.ipcRenderer.invoke("rename-branch", params);
}
async clearSessionData(): Promise<void> {
return this.ipcRenderer.invoke("clear-session-data");
}
}