mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-05 23:25:44 -05:00
fix: remove theme shop from settings
This commit is contained in:
parent
645221b384
commit
5768ff7c2f
2 changed files with 3 additions and 14 deletions
|
@ -12,12 +12,12 @@ import Store from "../interfaces/Store";
|
|||
/**
|
||||
* Union type of available experiments.
|
||||
*/
|
||||
export type Experiment = "dummy" | "theme_shop";
|
||||
export type Experiment = "dummy";
|
||||
|
||||
/**
|
||||
* Currently active experiments.
|
||||
*/
|
||||
export const AVAILABLE_EXPERIMENTS: Experiment[] = ["dummy", "theme_shop"];
|
||||
export const AVAILABLE_EXPERIMENTS: Experiment[] = ["dummy"];
|
||||
|
||||
/**
|
||||
* Definitions for experiments listed by {@link Experiment}.
|
||||
|
@ -29,10 +29,6 @@ export const EXPERIMENTS: {
|
|||
title: "Dummy Experiment",
|
||||
description: "This is a dummy experiment.",
|
||||
},
|
||||
theme_shop: {
|
||||
title: "Theme Shop",
|
||||
description: "Allows you to access and set user submitted themes.",
|
||||
},
|
||||
};
|
||||
|
||||
export interface Data {
|
||||
|
|
|
@ -189,19 +189,12 @@ export default observer(() => {
|
|||
title: <Text id="app.settings.pages.experiments.title" />,
|
||||
},
|
||||
{
|
||||
divider: !experiments.isEnabled("theme_shop"),
|
||||
divider: true,
|
||||
category: "revolt",
|
||||
id: "bots",
|
||||
icon: <Bot size={20} />,
|
||||
title: <Text id="app.settings.pages.bots.title" />,
|
||||
},
|
||||
{
|
||||
hidden: !experiments.isEnabled("theme_shop"),
|
||||
divider: true,
|
||||
id: "theme_shop",
|
||||
icon: <Store size={20} />,
|
||||
title: <Text id="app.settings.pages.theme_shop.title" />,
|
||||
},
|
||||
{
|
||||
id: "feedback",
|
||||
icon: <Megaphone size={20} />,
|
||||
|
|
Loading…
Reference in a new issue