mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 02:43:33 +00:00
[enhancement]: support clearing query and http cache (#475)
* [enhancement]: support clearing query and http cache - Adds the ability to invalidate all queries (useful for forcing refresh, and clearing lyrics which are cached forever) - [Desktop only] adds the ability to clear the Electron HTTP cache (e.g. cached images) * use clearer language * move cache settings to general
This commit is contained in:
parent
04a468f8c9
commit
9995b2e774
6 changed files with 119 additions and 2 deletions
|
|
@ -4,6 +4,8 @@ import { ControlSettings } from '/@/renderer/features/settings/components/genera
|
|||
import { SidebarSettings } from '/@/renderer/features/settings/components/general/sidebar-settings';
|
||||
import { ThemeSettings } from '/@/renderer/features/settings/components/general/theme-settings';
|
||||
import { RemoteSettings } from '/@/renderer/features/settings/components/general/remote-settings';
|
||||
import { CacheSettings } from '/@/renderer/features/settings/components/window/cache-settngs';
|
||||
import isElectron from 'is-electron';
|
||||
|
||||
export const GeneralTab = () => {
|
||||
return (
|
||||
|
|
@ -15,8 +17,14 @@ export const GeneralTab = () => {
|
|||
<ControlSettings />
|
||||
<Divider />
|
||||
<SidebarSettings />
|
||||
{isElectron() && (
|
||||
<>
|
||||
<Divider />
|
||||
<RemoteSettings />
|
||||
</>
|
||||
)}
|
||||
<Divider />
|
||||
<RemoteSettings />
|
||||
<CacheSettings />
|
||||
</Stack>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue