chore: Finished last polishing details and updated l10n, b=(no-bug), c=no-component

This commit is contained in:
Mr. M
2025-04-27 10:21:04 +02:00
parent d4a45ca006
commit 8acdb00570
2 changed files with 6 additions and 1 deletions

2
l10n

Submodule l10n updated: 950562cd71...e51bc808c4

View File

@@ -214,6 +214,11 @@ var gZenMarketplaceManager = {
await IOUtils.writeJSON(ZenThemesCommon.themesDataFile, uniqueThemes);
this.triggerThemeUpdate();
successBox.hidden = false;
let buttonIndex = await confirmRestartPrompt(true, 1, true, true);
if (buttonIndex == CONFIRM_RESTART_PROMPT_RESTART_NOW) {
Services.startup.quit(Ci.nsIAppStartup.eAttemptQuit | Ci.nsIAppStartup.eRestart);
}
} catch (error) {
console.error('[ZenThemeMarketplaceParent:settings]: Error while importing themes:', error);
errorBox.hidden = false;