mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 05:42:55 -04:00
This commit is contained in:
parent
70286e4867
commit
608ffa0764
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,6 @@ const getDesktopSources = findByCodeLazy("desktop sources");
|
||||||
|
|
||||||
export const settings = definePluginSettings({
|
export const settings = definePluginSettings({
|
||||||
streamMedia: {
|
streamMedia: {
|
||||||
description: "Media source to stream resets to main screen if not found",
|
|
||||||
type: OptionType.COMPONENT,
|
type: OptionType.COMPONENT,
|
||||||
component: SettingSection,
|
component: SettingSection,
|
||||||
},
|
},
|
||||||
|
@ -52,7 +51,7 @@ function StreamSimplePicker({ streamMediaSelection, streamMedia }: PickerProps)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SearchableSelect
|
<SearchableSelect
|
||||||
placeholder="Select a media source"
|
placeholder="Select a media source to stream "
|
||||||
maxVisibleItems={5}
|
maxVisibleItems={5}
|
||||||
options={options}
|
options={options}
|
||||||
value={options.find(o => o.value === streamMedia)}
|
value={options.find(o => o.value === streamMedia)}
|
||||||
|
@ -95,7 +94,8 @@ function ScreenSetting() {
|
||||||
function SettingSection() {
|
function SettingSection() {
|
||||||
return (
|
return (
|
||||||
<Forms.FormSection>
|
<Forms.FormSection>
|
||||||
<Forms.FormTitle>Stream Media</Forms.FormTitle>
|
<Forms.FormTitle>Media source to stream</Forms.FormTitle>
|
||||||
|
<Forms.FormText type={Forms.FormText.Types.DESCRIPTION}>Resets to main screen if not found</Forms.FormText>
|
||||||
<ScreenSetting />
|
<ScreenSetting />
|
||||||
</Forms.FormSection>
|
</Forms.FormSection>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue