Reorder IPC callbacks for settings window
This commit is contained in:
parent
5c7972893c
commit
4bed918cf8
6 changed files with 19 additions and 15 deletions
|
@ -107,7 +107,7 @@ export type IPCEventsCallbacksType = {
|
|||
customColor?: { id: string; value: CustomColorType }
|
||||
) => void;
|
||||
getDefaultConversationColor: () => DefaultConversationColorType;
|
||||
setPassiveZoomFactor: (factor: number) => Promise<void>;
|
||||
persistZoomFactor: (factor: number) => Promise<void>;
|
||||
};
|
||||
|
||||
type ValuesWithGetters = Omit<
|
||||
|
@ -507,7 +507,7 @@ export function createIPCEvents(
|
|||
getMediaPermissions: window.getMediaPermissions,
|
||||
getMediaCameraPermissions: window.getMediaCameraPermissions,
|
||||
|
||||
setPassiveZoomFactor: zoomFactor =>
|
||||
persistZoomFactor: zoomFactor =>
|
||||
window.storage.put('zoomFactor', zoomFactor),
|
||||
|
||||
...overrideEvents,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue