From 1b547d3cfd51f526ba2bcc4ea3beb82816755852 Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Tue, 10 Dec 2024 11:21:55 +0800 Subject: [PATCH] fix: merge options from ma.Options and ma.ActionOptions --- hrp/internal/version/VERSION | 2 +- hrp/pkg/uixt/action.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hrp/internal/version/VERSION b/hrp/internal/version/VERSION index 50619079..741839ce 100644 --- a/hrp/internal/version/VERSION +++ b/hrp/internal/version/VERSION @@ -1 +1 @@ -v5.0.0+2412101027 +v5.0.0+2412101121 diff --git a/hrp/pkg/uixt/action.go b/hrp/pkg/uixt/action.go index 4fc0d418..bb7a0143 100644 --- a/hrp/pkg/uixt/action.go +++ b/hrp/pkg/uixt/action.go @@ -85,9 +85,9 @@ type MobileAction struct { func (ma MobileAction) GetOptions() []ActionOption { var actionOptionList []ActionOption + // Notice: merge options from ma.Options and ma.ActionOptions if ma.Options != nil { actionOptionList = append(actionOptionList, ma.Options.Options()...) - return actionOptionList } actionOptionList = append(actionOptionList, ma.ActionOptions.Options()...) return actionOptionList