mirror of
https://github.com/taigrr/wails.git
synced 2026-04-16 19:55:05 -07:00
Add IsDarkMode
Updated runtime test
This commit is contained in:
@@ -174,3 +174,8 @@ func (r *RuntimeTest) Minimise() {
|
||||
func (r *RuntimeTest) Unminimise() {
|
||||
r.runtime.Window.Unminimise()
|
||||
}
|
||||
|
||||
// Check is system is running in dark mode
|
||||
func (r *RuntimeTest) IsDarkMode() bool {
|
||||
return r.runtime.System.IsDarkMode()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user