Skip to content

Conversation

@rainzm
Copy link

@rainzm rainzm commented Aug 21, 2025

closes #1058

@lotem lotem requested a review from LEOYoon-Tsaw August 21, 2025 04:56
if !view.darkTheme.available {
self.appearance = NSAppearance(named: .aqua)
} else if theme.native {
self.appearance = NSAppearance(named: .darkAqua)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

得知道系統主題是亮色還是暗色,暗色才應該設置外觀爲 .darkAqua 對吧?

@rainzm
Copy link
Author

rainzm commented Aug 21, 2025

你说得对,而且我又多方面尝试了一下,感觉没有找到根本的点上,所以我先关闭此PR,等我有时间再好好试试。

@rainzm rainzm closed this Aug 21, 2025
@lotem
Copy link
Member

lotem commented Aug 21, 2025

大概不容易的。絕對不是疏忽。羣主當時也搞不定,決定放棄,因爲用家可以通過自定義配置復刻嘛。我也沒深究。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] native主题无法正常在浅色和深色模式之间切换

2 participants