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