🎨 Support sending notifications on HarmonyOS https://github.com/siyuan-note/siyuan/issues/17125

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-03-05 10:54:54 +08:00
parent 51295adb4b
commit 5d98257e51
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 7 additions and 2 deletions

View file

@ -34,9 +34,9 @@ func sendDeviceNotification(c *gin.Context) {
return
}
if util.ContainerAndroid != util.Container {
if util.ContainerAndroid != util.Container && util.ContainerHarmony != util.Container {
ret.Code = -1
ret.Msg = "Just support Android"
ret.Msg = "Just support Android and HarmonyOS"
return
}