mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
Merge pull request #180 from simoleo89/feat/radio-ui-config-toggle
feat(radio): make the radio widget toggleable from ui-config
This commit is contained in:
@@ -32,7 +32,6 @@
|
|||||||
"badge.asset.url": "${image.library.url}album1584/%badgename%.gif",
|
"badge.asset.url": "${image.library.url}album1584/%badgename%.gif",
|
||||||
"radio.url": "${gamedata.url}/radio-stations.json5?t=%timestamp%",
|
"radio.url": "${gamedata.url}/radio-stations.json5?t=%timestamp%",
|
||||||
"soundboard.url": "${gamedata.url}/soundboard-sounds.json5?t=%timestamp%",
|
"soundboard.url": "${gamedata.url}/soundboard-sounds.json5?t=%timestamp%",
|
||||||
"radio_ui": false,
|
|
||||||
"furni.rotation.bounce.steps": 20,
|
"furni.rotation.bounce.steps": 20,
|
||||||
"furni.rotation.bounce.height": 0.0625,
|
"furni.rotation.bounce.height": 0.0625,
|
||||||
"enable.avatar.arrow": false,
|
"enable.avatar.arrow": false,
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
"wired.action.kick.from.room.max.length": 100,
|
"wired.action.kick.from.room.max.length": 100,
|
||||||
"wired.action.mute.user.max.length": 100,
|
"wired.action.mute.user.max.length": 100,
|
||||||
"game.center.enabled": false,
|
"game.center.enabled": false,
|
||||||
|
"radio_ui.enabled": false,
|
||||||
"guides.enabled": true,
|
"guides.enabled": true,
|
||||||
"housekeeping.enabled": true,
|
"housekeeping.enabled": true,
|
||||||
"toolbar.hide.quests": true,
|
"toolbar.hide.quests": true,
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ export const MainView: FC<{}> = props =>
|
|||||||
<RareValuesView />
|
<RareValuesView />
|
||||||
<FortuneWheelView />
|
<FortuneWheelView />
|
||||||
<SoundboardView />
|
<SoundboardView />
|
||||||
{ GetConfigurationValue<boolean>('radio_ui', true) && <RadioView /> }
|
{ GetConfigurationValue<boolean>('radio_ui.enabled', false) && <RadioView /> }
|
||||||
<ExternalPluginLoader />
|
<ExternalPluginLoader />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user