@ustk Sometimes I just think too much...
Or not enough! 🤣
inline function load()
{
if (!prefFile.isFile())
prefFile.writeEncryptedObject(preferences, PREF_FILE_PIN);
local decryptedPrefFile = prefFile.loadEncryptedObject(PREF_FILE_PIN);
if (isDefined(decryptedPrefFile.showInfo))
{
// whatever
}
}
load();