mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
[enhancement]: support viewing current/setting current time in remote
This commit is contained in:
@@ -84,6 +84,10 @@ const updateVolume = (volume: number) => {
|
||||
ipcRenderer.send('update-volume', volume);
|
||||
};
|
||||
|
||||
const updatePosition = (timeSec: number) => {
|
||||
ipcRenderer.send('update-position', timeSec);
|
||||
};
|
||||
|
||||
export const remote = {
|
||||
requestFavorite,
|
||||
requestPosition,
|
||||
@@ -95,6 +99,7 @@ export const remote = {
|
||||
updateFavorite,
|
||||
updatePassword,
|
||||
updatePlayback,
|
||||
updatePosition,
|
||||
updateRating,
|
||||
updateRepeat,
|
||||
updateSetting,
|
||||
|
||||
Reference in New Issue
Block a user