mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix walkthrough state not properly loaded from storage on init
This commit is contained in:
@@ -118,7 +118,7 @@ Walkthrough.update = async (id: 'notebooks' | 'trialstarted' | 'emailconfirmed'
|
||||
|
||||
Walkthrough.init = async () => {
|
||||
let json = await MMKV.getItem('walkthroughState');
|
||||
if (walkthroughState) {
|
||||
if (json) {
|
||||
walkthroughState = JSON.parse(json);
|
||||
console.log(walkthroughState);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user