From 9b1749349d3a41967e44a58306630cd7418cb321 Mon Sep 17 00:00:00 2001 From: Mahdi Hosseini Date: Thu, 10 Jun 2021 18:12:58 +0430 Subject: [PATCH] Fixed #74 --- src/Shared/HandyControl_Shared/Controls/Growl/Growl.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Shared/HandyControl_Shared/Controls/Growl/Growl.cs b/src/Shared/HandyControl_Shared/Controls/Growl/Growl.cs index 7f4f9aa9d..8573dc719 100644 --- a/src/Shared/HandyControl_Shared/Controls/Growl/Growl.cs +++ b/src/Shared/HandyControl_Shared/Controls/Growl/Growl.cs @@ -337,7 +337,7 @@ private static void InitGrowlPanel(Panel panel) } }; - PanelElement.SetFluidMoveBehavior(panel, ResourceHelper.GetResourceInternal(ResourceToken.BehaviorXY400)); + PanelElement.SetFluidMoveBehavior(panel, ResourceHelper.GetResource(ResourceToken.BehaviorXY400)); } private void Update() @@ -390,8 +390,8 @@ private static void ShowGlobal(GrowlInfo growlInfo) { Message = growlInfo.Message, Time = time, - Icon = ResourceHelper.GetResourceInternal(growlInfo.IconKey), - IconBrush = ResourceHelper.GetResourceInternal(growlInfo.IconBrushKey), + Icon = ResourceHelper.GetResource(growlInfo.IconKey), + IconBrush = ResourceHelper.GetResource(growlInfo.IconBrushKey), _showCloseButton = growlInfo.ShowCloseButton, ActionBeforeClose = growlInfo.ActionBeforeClose, _staysOpen = growlInfo.StaysOpen, @@ -436,8 +436,8 @@ private static void Show(GrowlInfo growlInfo) { Message = growlInfo.Message, Time = time, - Icon = ResourceHelper.GetResourceInternal(growlInfo.IconKey), - IconBrush = ResourceHelper.GetResourceInternal(growlInfo.IconBrushKey), + Icon = ResourceHelper.GetResource(growlInfo.IconKey), + IconBrush = ResourceHelper.GetResource(growlInfo.IconBrushKey), _showCloseButton = growlInfo.ShowCloseButton, ActionBeforeClose = growlInfo.ActionBeforeClose, _staysOpen = growlInfo.StaysOpen,