-
-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
In the movie example app, I saw it uses a timer to archive the state every other 30 seconds.
https://github.com/Dimillian/MovieSwiftUI/blob/2897f8dfd3ea8370fbecacf56a8516f25d71efe8/MovieSwift/MovieSwift/views/components/home/HomeView.swift#L23
I would like the state to archive right after when a user is authenticated to save authenticated: true, so next time when user opens the app it doesn't load the sign-in screen. Is there a way to subscribe to state change and auto archive state when state changes?
Metadata
Metadata
Assignees
Labels
No labels