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
. -
ProfileView
open as sheet fromHomeView
. - Then I change themeAppearance from
ProfileView
theme only changed forProfileView
. - Theme open as last theme but on
ProfileView
icon 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 fromProfileView
with callback func.
Note: I'm trying to capture video to upload.
https://www.youtube.com/shorts/q2QJsUTHGZs