Browse Source

:art: Support HarmonyOS NEXT system https://github.com/siyuan-note/siyuan/issues/13184

Daniel 7 months ago
parent
commit
83d4516fd2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      kernel/harmony/kernel.go

+ 2 - 2
kernel/harmony/kernel.go

@@ -126,8 +126,8 @@ func SetTimezone(container, appDir, timezoneID string) {
 }
 
 //export DisableFeature
-func DisableFeature(feature string) {
-	util.DisableFeature(feature)
+func DisableFeature(feature *C.char) {
+	util.DisableFeature(C.GoString(feature))
 }
 
 func main() {}