diff --git a/hms-sdk-unity/HuaweiMobileServices/Game/AchievementClientWrapper.cs b/hms-sdk-unity/HuaweiMobileServices/Game/AchievementClientWrapper.cs index 53ab3a3a..8f412fcd 100644 --- a/hms-sdk-unity/HuaweiMobileServices/Game/AchievementClientWrapper.cs +++ b/hms-sdk-unity/HuaweiMobileServices/Game/AchievementClientWrapper.cs @@ -17,7 +17,8 @@ internal class AchievementClientWrapper : JavaObjectWrapper, IAchievementsClient public AchievementClientWrapper(AndroidJavaObject javaObject) : base(javaObject) { } - public void ShowAchievementList(Action onSuccess, Action onFailure) => new GenericBridgeWrapper(base.JavaObject).CallGenericBridge(onSuccess, onFailure, "getShowAchievementListIntent"); + public void ShowAchievementList(Action onSuccess, Action onFailure) => + this.CallGenericBridge("getShowAchievementListIntent", onSuccess, onFailure); public Task ShowAchievementListAsync() {