lbry-desktop/src/renderer/util/setProgressBar.js
2017-12-21 18:00:33 -03:00

9 lines
180 B
JavaScript

import { remote } from 'electron';
const win = remote.getCurrentWindow();
const setProgressBar = progress => {
win.setProgressBar(progress);
};
export default setProgressBar;