Skip to content

Commit f12e1cb

Browse files
committed
refactor: remove run in background option
1 parent 32b458c commit f12e1cb

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/options/components/Entries/General.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
SaladictFormItem
77
} from '@/options/components/SaladictForm'
88
import { DarkModeSelect } from '@/options/components/DarkModeSelect'
9-
import { isFirefox, isOpera } from '@/_helpers/saladict'
9+
// import { isFirefox, isOpera } from '@/_helpers/saladict'
1010

1111
export const General: FC = () => {
1212
const formItems: SaladictFormItem[] = [
@@ -22,13 +22,13 @@ export const General: FC = () => {
2222
}
2323
]
2424

25-
if (!(isFirefox || isOpera)) {
26-
formItems.push({
27-
name: getConfigPath('runInBg'),
28-
valuePropName: 'checked',
29-
children: <Switch />
30-
})
31-
}
25+
// if (!(isFirefox || isOpera)) {
26+
// formItems.push({
27+
// name: getConfigPath('runInBg'),
28+
// valuePropName: 'checked',
29+
// children: <Switch />
30+
// })
31+
// }
3232

3333
formItems.push(
3434
{

0 commit comments

Comments
 (0)