From 593c170ee5413a39e177eb4a2f42c7c804a43f81 Mon Sep 17 00:00:00 2001 From: RMBGAME Date: Wed, 27 Nov 2024 17:38:17 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20ClickAd=20OpenBrowserComma?= =?UTF-8?q?nd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/Mvvm/Advertisement/AdvertiseService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BD.WTTS.Client/Services/Mvvm/Advertisement/AdvertiseService.cs b/src/BD.WTTS.Client/Services/Mvvm/Advertisement/AdvertiseService.cs index 0a6d134216e..3903bda79e3 100644 --- a/src/BD.WTTS.Client/Services/Mvvm/Advertisement/AdvertiseService.cs +++ b/src/BD.WTTS.Client/Services/Mvvm/Advertisement/AdvertiseService.cs @@ -95,12 +95,12 @@ public async Task RefrshAdvertiseAsync() } } - static async void ClickAdvertisement(AdvertisementDTO? dto) + static void ClickAdvertisement(AdvertisementDTO? dto) { if (dto != null) { - //IApplication.Instance.OpenBrowserCommandCore(dto.Url); - await Browser2.OpenAsync(dto.Url); + IApplication.Instance.OpenBrowserCommandCore(dto.Url); + //await Browser2.OpenAsync(dto.Url); } }