mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-08-20 04:27:29 +00:00
ui: Settings refractor
This commit is contained in:
parent
72b9dc2074
commit
61bb2d804d
|
|
@ -492,7 +492,6 @@ const SettingsView = memo(function SettingsView() {
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
{currentSubMenu === "main" ? (
|
{currentSubMenu === "main" ? (
|
||||||
// Main settings menu - original style with button textures
|
|
||||||
<div className="w-full max-w-[540px] space-y-2 mb-4 p-6 flex flex-col items-center overflow-y-auto max-h-[55vh]">
|
<div className="w-full max-w-[540px] space-y-2 mb-4 p-6 flex flex-col items-center overflow-y-auto max-h-[55vh]">
|
||||||
{settingsItems.map((item, index) => {
|
{settingsItems.map((item, index) => {
|
||||||
if (item.id === "back") return null;
|
if (item.id === "back") return null;
|
||||||
|
|
@ -557,7 +556,6 @@ const SettingsView = memo(function SettingsView() {
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
// Sub-menus - new style with background.png and toggle switches
|
|
||||||
<div
|
<div
|
||||||
className="min-w-[420px] w-fit p-6 flex flex-col items-center"
|
className="min-w-[420px] w-fit p-6 flex flex-col items-center"
|
||||||
style={{
|
style={{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue