Add reload prompt to extension branch switch success message

This commit is contained in:
Cohee
2026-02-25 00:41:54 +02:00
parent 8422d2d0c7
commit 4dbdd06d6d
+1 -1
View File
@@ -1387,7 +1387,7 @@ async function switchExtensionBranch(extensionName, isGlobal, branch) {
return; return;
} }
toastr.success(t`Extension ${extensionName} switched to ${branch}`); toastr.success(t`Extension ${extensionName} switched to ${branch}`, t`Reload the page to apply updates`);
await loadExtensionSettings({}, false, false); await loadExtensionSettings({}, false, false);
void showExtensionsDetails(); void showExtensionsDetails();
} catch (error) { } catch (error) {