lbry-desktop/src/renderer/util/setProgressBar.js

10 lines
180 B
JavaScript
Raw Normal View History

import { remote } from 'electron';
2017-12-13 22:36:30 +01:00
const win = remote.getCurrentWindow();
const setProgressBar = progress => {
win.setProgressBar(progress);
};
export default setProgressBar;