Rename DevEnableShare to EnableSharing

This commit is contained in:
Deluan
2023-01-29 20:33:10 -05:00
parent a651d65a5b
commit 68e6115789
14 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -110,7 +110,7 @@ const Admin = (props) => {
name="radio"
{...(permissions === 'admin' ? radio.admin : radio.all)}
/>,
config.devEnableShare && <Resource name="share" {...share} />,
config.enableSharing && <Resource name="share" {...share} />,
<Resource
name="playlist"
{...playlist}
@@ -142,7 +142,7 @@ const Admin = (props) => {
}
const AppWithHotkeys = () => {
if (config.devEnableShare && shareInfo) {
if (config.enableSharing && shareInfo) {
return <SharePlayer />
}
return (