mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 07:26:19 +00:00
💱 Changed the ui-config so please update !
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
"game.center.enabled": false,
|
"game.center.enabled": false,
|
||||||
"guides.enabled": true,
|
"guides.enabled": true,
|
||||||
"toolbar.hide.quests": true,
|
"toolbar.hide.quests": true,
|
||||||
"catalog.style": "new",
|
"catalog.style.new": true,
|
||||||
"navigator.room.models": [{
|
"navigator.room.models": [{
|
||||||
"clubLevel": 0,
|
"clubLevel": 0,
|
||||||
"tileSize": 104,
|
"tileSize": 104,
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -5,9 +5,9 @@ import { CatalogModernView } from './CatalogModernView';
|
|||||||
|
|
||||||
export const CatalogView: FC<{}> = () =>
|
export const CatalogView: FC<{}> = () =>
|
||||||
{
|
{
|
||||||
const style = GetConfigurationValue<string>('catalog.style', 'classic');
|
const useNewStyle = GetConfigurationValue<boolean>('catalog.style.new', false);
|
||||||
|
|
||||||
if(style === 'new') return <CatalogModernView />;
|
if(useNewStyle) return <CatalogModernView />;
|
||||||
|
|
||||||
return <CatalogClassicView />;
|
return <CatalogClassicView />;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user