feat: validate and persist openInAppId updates from settings

This commit is contained in:
Bohdan Triapitsyn
2026-02-08 15:11:20 +02:00
parent b4f4ee58e5
commit 148b55f66b
5 changed files with 47 additions and 24 deletions
-2
View File
@@ -73,8 +73,6 @@ const persistToLocalStorage = (settings: DesktopSettings) => {
}
if (typeof settings.openInAppId === 'string' && settings.openInAppId.length > 0) {
localStorage.setItem('openInAppId', settings.openInAppId);
} else {
localStorage.removeItem('openInAppId');
}
};