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:
2 files changed
+6
-7
No files matched your search
@@ -506,7 +506,7 @@ export default function RootLayout ({
|
|||||||
: d
|
: d
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if (await settings?.get<boolean>('notifications-allowed'))
|
if (await settings?.get<boolean>('notificationsAllowed'))
|
||||||
await notifyUser(
|
await notifyUser(
|
||||||
'Download Failed',
|
'Download Failed',
|
||||||
`The download for version ${info.displayName} has failed.`
|
`The download for version ${info.displayName} has failed.`
|
||||||
@@ -579,7 +579,7 @@ export default function RootLayout ({
|
|||||||
: d
|
: d
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if (await settings?.get<boolean>('notifications-allowed'))
|
if (await settings?.get<boolean>('notificationsAllowed'))
|
||||||
await notifyUser(
|
await notifyUser(
|
||||||
'Download Failed',
|
'Download Failed',
|
||||||
`The download for version ${info.displayName} has failed.`
|
`The download for version ${info.displayName} has failed.`
|
||||||
|
|||||||
@@ -51,12 +51,11 @@ export default function Settings () {
|
|||||||
<input
|
<input
|
||||||
type='text'
|
type='text'
|
||||||
value={linuxWineCommand}
|
value={linuxWineCommand}
|
||||||
onChange={async e => {
|
onChange={async e =>
|
||||||
await settings?.set('linuxWineCommand', e.target.value)
|
await settings?.set('linuxWineCommand', e.target.value)
|
||||||
}}
|
}
|
||||||
className={`input-field my-1 ${
|
className='input-field my-1'
|
||||||
platform() == 'linux' && linuxWineCommand ? '' : 'hidden'
|
hidden={!(platform() == 'linux' && linuxUseWine)}
|
||||||
}`}
|
|
||||||
></input>
|
></input>
|
||||||
<div title='The theme you want the launcher to use.'>
|
<div title='The theme you want the launcher to use.'>
|
||||||
<label className='text-lg'>Theme:</label>
|
<label className='text-lg'>Theme:</label>
|
||||||
|
|||||||
Reference in new issue
Block a user