How to properly use an Environment inside ViewModifier

后端 未结 0 1215
小鲜肉
小鲜肉 2021-02-06 18:11

I want to customise the look of my dark mode in Xcode 12. The code below I\'ve found on the web with some changes to variables. Only colorScheme is important:

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题