mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding modal to edit profile
This commit is contained in:
parent
79ca354da1
commit
af69509c61
9 changed files with 219 additions and 7 deletions
|
@ -128,6 +128,8 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
|
||||
/* Profile */
|
||||
getMe: () => ipcRenderer.invoke("getMe"),
|
||||
updateProfile: (displayName: string, newProfileImagePath: string | null) =>
|
||||
ipcRenderer.invoke("updateProfile", displayName, newProfileImagePath),
|
||||
|
||||
/* User */
|
||||
getUser: (userId: string) => ipcRenderer.invoke("getUser", userId),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue