SwiftTheming
SwiftTheming copied to clipboard
Theme appearance mismatch after change from sheet
Hi,
I'm facing with problem as described below;
- I have 2 view. First one
HomeView, second oneProfileView. ProfileViewopen as sheet fromHomeView.- Then I change themeAppearance from
ProfileViewtheme only changed forProfileView. - Theme open as last theme but on
ProfileViewicon doesn't change (stay as previous appearance) when I close app and restart after a few seconds.
For 3. line error I fixed as below;
- I created
@State var uuid = UUID()on HomeView and override that variable with new one whenever user change appearance fromProfileViewwith callback func.
Note: I'm trying to capture video to upload.
https://www.youtube.com/shorts/q2QJsUTHGZs