mirror of https://github.com/vector-im/riot-web
Remove unused commented line
parent
0e580635eb
commit
ff45dc6430
|
@ -222,7 +222,6 @@ async function loadApp() {
|
||||||
const params = parseQs(window.location);
|
const params = parseQs(window.location);
|
||||||
|
|
||||||
// set the platform for react sdk
|
// set the platform for react sdk
|
||||||
//if (navigator.userAgent.toLowerCase().indexOf('electron') > 0) {
|
|
||||||
if (window.ipcRenderer) {
|
if (window.ipcRenderer) {
|
||||||
console.log("Using Electron platform");
|
console.log("Using Electron platform");
|
||||||
PlatformPeg.set(new ElectronPlatform());
|
PlatformPeg.set(new ElectronPlatform());
|
||||||
|
|
Loading…
Reference in New Issue