mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
refactor(voice): remove the native voice engine from the renderer (#1787)
This commit is contained in:
1 parent
b144e650f2
commit
9731bac40f
103 files changed
+308
-15553
No files matched your search
@@ -53,9 +53,3 @@ export async function getBackgroundImageURL(id: string): Promise<string | null>
|
||||
if (!media?.dataUrl) return null;
|
||||
return dataUrlToObjectUrl(media.dataUrl);
|
||||
}
|
||||
|
||||
export async function getNativeBackgroundMediaSource(id: string): Promise<NativeBackgroundMediaSource | null> {
|
||||
const resolveVoiceBackgroundMedia = getElectronAPI()?.resolveVoiceBackgroundMedia;
|
||||
if (!resolveVoiceBackgroundMedia) return null;
|
||||
return resolveVoiceBackgroundMedia(id);
|
||||
}
|
||||
Reference in new issue
Block a user