FIx issue with wine command input box showing even if wine is not enabled on linux & fix a notification issue

This commit is contained in:
Lncvrt committed 2026-04-13 13:08:43 -07:00
1 parent b8498d36e4
commit beb5ce175e
2 files changed
+6 -7

No files matched your search

+4 -5
View File
@@ -51,12 +51,11 @@ export default function Settings () {
<input
type='text'
value={linuxWineCommand}
onChange={async e => {
onChange={async e =>
await settings?.set('linuxWineCommand', e.target.value)
}}
className={`input-field my-1 ${
platform() == 'linux' && linuxWineCommand ? '' : 'hidden'
}`}
}
className='input-field my-1'
hidden={!(platform() == 'linux' && linuxUseWine)}
></input>
<div title='The theme you want the launcher to use.'>
<label className='text-lg'>Theme:</label>