This commit is contained in:
Luc Mcgrady 2025-09-03 18:09:48 +01:00
parent d9910ee548
commit c534abeb62
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C

View file

@ -53,7 +53,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
let desiredRetentionFocused = false; let desiredRetentionFocused = false;
let desiredRetentionEverFocused = false; let desiredRetentionEverFocused = false;
let optimized = false; let optimized = false;
const initialParmas = [...fsrsParams($config)]; const initialParams = [...fsrsParams($config)];
$: if (desiredRetentionFocused) { $: if (desiredRetentionFocused) {
desiredRetentionEverFocused = true; desiredRetentionEverFocused = true;
} }
@ -341,7 +341,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
function showSimulatorModal(modal: Modal) { function showSimulatorModal(modal: Modal) {
if ( if (
fsrsParams($config).toString() === initialParmas.toString() fsrsParams($config).toString() === initialParams.toString()
) { ) {
modal?.show(); modal?.show();
} else { } else {