File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/app/src/app/pages/common/Modals/PreferencesModal/EditorPageSettings Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import { VSCodePlaceholder } from '../VSCodePlaceholder';
1212import { PreferenceContainer } from '../elements' ;
1313
1414const isSafari = / ^ ( (? ! c h r o m e | a n d r o i d ) .) * s a f a r i / i. test ( navigator . userAgent ) ;
15- const isFF = navigator . userAgent . toLowerCase ( ) . includes ( 'firefox' ) ;
1615
1716export const EditorSettings : FunctionComponent = ( ) => {
1817 const {
@@ -45,7 +44,7 @@ export const EditorSettings: FunctionComponent = () => {
4544
4645 { /* {Vim mode does not work on FF or Safari */ }
4746 < Element marginTop = { 4 } >
48- < PreferenceContainer disabled = { isSafari || isFF } >
47+ < PreferenceContainer disabled = { isSafari } >
4948 < Preference
5049 title = "Enable VIM extension"
5150 type = "boolean"
@@ -65,9 +64,9 @@ export const EditorSettings: FunctionComponent = () => {
6564 </ PreferenceContainer >
6665 </ Element >
6766
68- { isSafari || isFF ? (
67+ { isSafari ? (
6968 < Text block marginBottom = { 2 } marginTop = { 2 } size = { 2 } variant = "muted" >
70- The VIM extension currently only works on Chrome and Microsoft Edge.
69+ The VIM extension currently does not work on Safari
7170 </ Text >
7271 ) : null }
7372
You can’t perform that action at this time.
0 commit comments