From 5d048972abcabd8efb40692216f95b1e5b149be9 Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Tue, 6 Aug 2019 18:06:47 +0100
Subject: [PATCH] delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---
.../tabs/user/PreferencesUserSettingsTab.js | 35 +++++++++++--------
1 file changed, 21 insertions(+), 14 deletions(-)
diff --git a/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.js b/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.js
index e02524a7b3..6507854e59 100644
--- a/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.js
+++ b/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.js
@@ -1,5 +1,6 @@
/*
Copyright 2019 New Vector Ltd
+Copyright 2019 Michael Telatynski <7t3chguy@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -20,8 +21,8 @@ import {SettingLevel} from "../../../../../settings/SettingsStore";
import LabelledToggleSwitch from "../../../elements/LabelledToggleSwitch";
import SettingsStore from "../../../../../settings/SettingsStore";
import Field from "../../../elements/Field";
-const sdk = require("../../../../..");
-const PlatformPeg = require("../../../../../PlatformPeg");
+import sdk from "../../../../..";
+import PlatformPeg from "../../../../../PlatformPeg";
export default class PreferencesUserSettingsTab extends React.Component {
static COMPOSER_SETTINGS = [
@@ -131,23 +132,26 @@ export default class PreferencesUserSettingsTab extends React.Component {
render() {
let autoLaunchOption = null;
if (this.state.autoLaunchSupported) {
- autoLaunchOption = ;
+ autoLaunchOption = ;
}
let autoHideMenuOption = null;
if (this.state.alwaysShowMenuBarSupported) {
- autoHideMenuOption = ;
+ autoHideMenuOption = ;
}
let minimizeToTrayOption = null;
if (this.state.minimizeToTraySupported) {
- minimizeToTrayOption = ;
+ minimizeToTrayOption = ;
}
return (
@@ -168,9 +172,12 @@ export default class PreferencesUserSettingsTab extends React.Component {
{minimizeToTrayOption}
{autoHideMenuOption}
{autoLaunchOption}
-
+
);