fix: display notification on user resourecepack enable
This commit is contained in:
parent
e8d980b790
commit
59cb442225
1 changed files with 2 additions and 1 deletions
|
|
@ -15,6 +15,7 @@ import { downloadPacketsReplay, packetsReplaceSessionState } from './packetsRepl
|
|||
import { showOptionsModal } from './react/SelectOption'
|
||||
import supportedVersions from './supportedVersions.mjs'
|
||||
import { getVersionAutoSelect } from './connect'
|
||||
import { createNotificationProgressReporter } from './core/progressReporter'
|
||||
|
||||
export const guiOptionsScheme: {
|
||||
[t in OptionsGroupType]: Array<{ [K in keyof AppOptions]?: Partial<OptionMeta<AppOptions[K]>> } & { custom? }>
|
||||
|
|
@ -181,7 +182,7 @@ export const guiOptionsScheme: {
|
|||
}
|
||||
if (choice === 'Enable') {
|
||||
options.enabledResourcepack = name
|
||||
await completeResourcepackPackInstall(name, name, false)
|
||||
await completeResourcepackPackInstall(name, name, false, createNotificationProgressReporter())
|
||||
return
|
||||
}
|
||||
if (choice === 'Uninstall') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue