mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 05:32:33 +01:00
🎨 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:
parent
51295adb4b
commit
5d98257e51
3 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue