- Show minimap}
- control={
- editorConfiguration.minimap.enabled = checked}
- />
- }
- />
+ editorConfiguration.minimap.enabled = v.target.checked}>
+ Copy on select and paste on right-click
+
Position
diff --git a/src/renderer/components/+preferences/kubectl-binaries.tsx b/src/renderer/components/+preferences/kubectl-binaries.tsx
index bffc69e3c0..b63f03fb06 100644
--- a/src/renderer/components/+preferences/kubectl-binaries.tsx
+++ b/src/renderer/components/+preferences/kubectl-binaries.tsx
@@ -26,7 +26,7 @@ import { getDefaultKubectlDownloadPath, UserStore } from "../../../common/user-s
import { observer } from "mobx-react";
import { bundledKubectlPath } from "../../../main/kubectl";
import { SelectOption, Select } from "../select";
-import { FormSwitch, Switcher } from "../switch";
+import { Switch } from "../switch";
import { packageMirrors } from "../../../common/user-store/preferences-helpers";
export const KubectlBinaries = observer(() => {
@@ -48,16 +48,9 @@ export const KubectlBinaries = observer(() => {
<>
- userStore.downloadKubectlBinaries = v.target.checked}
- name="kubectl-download"
- />
- }
- label="Download kubectl binaries matching the Kubernetes cluster version"
- />
+ userStore.downloadKubectlBinaries = v.target.checked}>
+ Download kubectl binaries matching the Kubernetes cluster version
+
diff --git a/src/renderer/components/+preferences/proxy.tsx b/src/renderer/components/+preferences/proxy.tsx
index b85bd5e0e1..559bea444f 100644
--- a/src/renderer/components/+preferences/proxy.tsx
+++ b/src/renderer/components/+preferences/proxy.tsx
@@ -24,7 +24,7 @@ import React from "react";
import { UserStore } from "../../../common/user-store";
import { Input } from "../input";
import { SubTitle } from "../layout/sub-title";
-import { FormSwitch, Switcher } from "../switch";
+import { Switch } from "../switch";
export const LensProxy = observer(() => {
const [proxy, setProxy] = React.useState(UserStore.getInstance().httpsProxy || "");
@@ -50,16 +50,9 @@ export const LensProxy = observer(() => {
- UserStore.getInstance().allowUntrustedCAs = v.target.checked}
- name="startup"
- />
- }
- label="Allow untrusted Certificate Authorities"
- />
+ UserStore.getInstance().allowUntrustedCAs = v.target.checked}>
+ Allow untrusted Certificate Authorities
+
This will make Lens to trust ANY certificate authority without any validations.{" "}
Needed with some corporate proxies that do certificate re-writing.{" "}