mirror of
https://github.com/Sqaaakoi/vc-newPluginsManager.git
synced 2024-11-16 14:54:37 -05:00
Add wrapper to Don't show this again checkbox
This commit is contained in:
parent
9a02e43cfb
commit
fb6e9c9bef
2 changed files with 12 additions and 9 deletions
|
@ -10,6 +10,7 @@
|
||||||
list-style: disc;
|
list-style: disc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.vc-newPluginsManager-disable-wrapper,
|
||||||
.vc-newPluginsManager-close > div {
|
.vc-newPluginsManager-close > div {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
|
@ -133,15 +133,17 @@ export function NewPluginsModal({ modalProps, newPlugins, newSettings }: { modal
|
||||||
/>
|
/>
|
||||||
</Flex>
|
</Flex>
|
||||||
<Flex direction={Flex.Direction.HORIZONTAL}>
|
<Flex direction={Flex.Direction.HORIZONTAL}>
|
||||||
<Checkbox
|
<div className="vc-newPluginsManager-disable-wrapper">
|
||||||
type={Checkbox.Types.INVERTED}
|
<Checkbox
|
||||||
value={!settings?.plugins?.NewPluginsManager?.enabled}
|
type={Checkbox.Types.INVERTED}
|
||||||
onChange={() => {
|
value={!settings?.plugins?.NewPluginsManager?.enabled}
|
||||||
Settings.plugins.NewPluginsManager.enabled = !settings?.plugins?.NewPluginsManager?.enabled;
|
onChange={() => {
|
||||||
}}
|
Settings.plugins.NewPluginsManager.enabled = !settings?.plugins?.NewPluginsManager?.enabled;
|
||||||
>
|
}}
|
||||||
<Text>Don't show this again</Text>
|
>
|
||||||
</Checkbox>
|
<Text>Don't show this again</Text>
|
||||||
|
</Checkbox>
|
||||||
|
</div>
|
||||||
</Flex>
|
</Flex>
|
||||||
</ModalFooter>
|
</ModalFooter>
|
||||||
</ModalRoot>;
|
</ModalRoot>;
|
||||||
|
|
Loading…
Reference in a new issue