You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-10 00:05:42 +02:00
Mobile: Plugin settings screen: Fix plugin states not set correctly when installing multiple plugins at once (#10580)
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
This commit is contained in:
@ -20,13 +20,13 @@ const itemEvent = ({
|
||||
} as ItemEvent);
|
||||
const callHook = (isUpdate: boolean, pluginEnabled = true, pluginInstalledViaGUI = true) => () => useOnInstallHandler(
|
||||
setInstallingPluginIds,
|
||||
{
|
||||
{ current: {
|
||||
[pluginId]: pluginInstalledViaGUI ? {
|
||||
enabled: pluginEnabled,
|
||||
deleted: false,
|
||||
hasBeenUpdated: false,
|
||||
} : undefined,
|
||||
},
|
||||
} },
|
||||
repoApi,
|
||||
onPluginSettingsChange,
|
||||
isUpdate,
|
||||
|
Reference in New Issue
Block a user