Add switch option to open search box result in same tab #476

This makes it easier to search when homer is set as the default for a new
tab.

Co-authored-by: Momcilo Bajalovic <momcilobajalovic@Momcilos-Air.lan>
This commit is contained in:
Momcilo42
2022-10-21 21:58:35 +02:00
committed by GitHub
parent e028fe29bb
commit fdecf24905
5 changed files with 72 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ import { Text, SegmentedControl, TextInput, Stack } from '@mantine/core';
import { useState } from 'react';
import { useTranslation } from 'next-i18next';
import { useConfig } from '../../tools/state';
import { SearchNewTabSwitch } from '../SearchNewTabSwitch/SearchNewTabSwitch';
import { ColorSchemeSwitch } from '../ColorSchemeToggle/ColorSchemeSwitch';
import { WidgetsPositionSwitch } from '../WidgetsPositionSwitch/WidgetsPositionSwitch';
import ConfigChanger from '../Config/ConfigChanger';
@@ -75,6 +76,7 @@ export default function CommonSettings(args: any) {
</>
)}
</Stack>
<SearchNewTabSwitch />
<ColorSchemeSwitch />
<WidgetsPositionSwitch />
<ModuleEnabler />