mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-17 05:30:48 +08:00
🐛 ClickAdvertisement
This commit is contained in:
@@ -95,11 +95,12 @@ public sealed class AdvertiseService : ReactiveObject
|
||||
}
|
||||
}
|
||||
|
||||
static void ClickAdvertisement(AdvertisementDTO? dto)
|
||||
static async void ClickAdvertisement(AdvertisementDTO? dto)
|
||||
{
|
||||
if (dto != null)
|
||||
{
|
||||
IApplication.Instance.OpenBrowserCommandCore(dto.Url);
|
||||
//IApplication.Instance.OpenBrowserCommandCore(dto.Url);
|
||||
await Browser2.OpenAsync(dto.Url);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user