Skip to content

Commit

Permalink
Improve logic around showing what's new
Browse files Browse the repository at this point in the history
  • Loading branch information
kaphacius committed Feb 28, 2024
1 parent b592a6c commit cd55b22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion JustTags/AppVM.swift
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ extension AppVM: MainVMProvider {
tagParser: .init(tagDecoder: tagDecoder!)
)
mainVMs.append(.init(newVM))
newVM.presentingWhatsNew = shouldShowWhatsNew

// Restore main VM state if needed
if setUpInProgress,
Expand All @@ -278,6 +277,8 @@ extension AppVM: MainVMProvider {
self.onOpenWindow?(id: WindowType.Case.main.id)
}
}
} else {
newVM.presentingWhatsNew = shouldShowWhatsNew
}

return newVM
Expand Down

0 comments on commit cd55b22

Please sign in to comment.