mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[v3] implement Window interface
This commit is contained in:
@@ -12,7 +12,7 @@ var systemMethodNames = map[int]string{
|
||||
SystemIsDarkMode: "IsDarkMode",
|
||||
}
|
||||
|
||||
func (m *MessageProcessor) processSystemMethod(method int, rw http.ResponseWriter, r *http.Request, window *WebviewWindow, params QueryParams) {
|
||||
func (m *MessageProcessor) processSystemMethod(method int, rw http.ResponseWriter, r *http.Request, window Window, params QueryParams) {
|
||||
|
||||
switch method {
|
||||
case SystemIsDarkMode:
|
||||
|
||||
Reference in New Issue
Block a user