Display Toast message when updating KefinTweaks

This commit is contained in:
HighImKevin committed 2026-10-06 23:37:21 -04:00
1 parent 7a65cad704
commit 42c1c10b0d
2 files changed
+105 -15

No files matched your search

+11
View File
@@ -272,6 +272,17 @@
window.KefinTweaksToaster = {
toast
};
// Drain deferred root-update toast queued by kefinTweaks-plugin before toaster loaded
try {
const pending = window.__kefinPendingRootUpdateToast;
if (pending?.message) {
window.__kefinPendingRootUpdateToast = null;
toast(pending.message, '5');
}
} catch (e) {
WARN('Failed to flush pending root-update toast:', e);
}
LOG('Initialized successfully');
LOG('Available at window.KefinTweaksToaster');