From 5a85a6e4f9b5f02eb557070c48882d68b28305eb Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Fri, 23 Oct 2020 11:24:52 +1100 Subject: [PATCH] Expose System methods in Go runtime --- v2/internal/runtime/system.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v2/internal/runtime/system.go b/v2/internal/runtime/system.go index c82af3124..3bb97dc33 100644 --- a/v2/internal/runtime/system.go +++ b/v2/internal/runtime/system.go @@ -11,6 +11,8 @@ import ( // System defines all System related operations type System interface { IsDarkMode() bool + Platform() string + AppType() string } // system exposes the System interface