Skip to content

Commit

Permalink
refactor: swap gecko code and import button order
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed May 9, 2023
1 parent 58de7ca commit eac4240
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/renderer/containers/Settings/DolphinSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,9 @@ export const DolphinSettings: React.FC<{ dolphinType: DolphinLaunchType }> = ({
/>
</SettingItem>
</DevGuard>
{!isLinux && (
<ImportDolphinConfigForm
dolphinType={dolphinType}
disabled={!dolphinIsReady}
onImportDolphin={importDolphinHandler}
/>
)}
<SettingItem name={`${dolphinTypeName} Gecko Codes`}>
<GeckoCodes dolphinType={dolphinType} disabled={!dolphinIsReady} />
</SettingItem>
<SettingItem name={`Reset ${dolphinTypeName} Dolphin`}>
<ConfirmationModal
open={resetModalOpen}
Expand Down Expand Up @@ -178,9 +174,13 @@ export const DolphinSettings: React.FC<{ dolphinType: DolphinLaunchType }> = ({
</Button>
</div>
</SettingItem>
<SettingItem name="Gecko Codes">
<GeckoCodes dolphinType={dolphinType} disabled={!dolphinIsReady} />
</SettingItem>
{!isLinux && (
<ImportDolphinConfigForm
dolphinType={dolphinType}
disabled={!dolphinIsReady}
onImportDolphin={importDolphinHandler}
/>
)}
</div>
);
};
Expand Down

0 comments on commit eac4240

Please sign in to comment.