[Hotfix] Updated CardAdvert.xaml.cs
This commit is contained in:
@@ -4,6 +4,7 @@ using Windows.UI.Xaml.Controls;
|
||||
using Microsoft.Advertising.WinRT.UI;
|
||||
using Windows.UI.Xaml.Media.Imaging;
|
||||
using Microsoft.Toolkit.Uwp.UI.Controls;
|
||||
using Microsoft.AppCenter.Analytics;
|
||||
|
||||
namespace FoxTube.Controls.Adverts
|
||||
{
|
||||
@@ -59,6 +60,11 @@ namespace FoxTube.Controls.Adverts
|
||||
desc.Text += " " + advert.Rating;
|
||||
|
||||
show.Begin();
|
||||
|
||||
Analytics.TrackEvent("Advert loaded", new Dictionary<string, string>
|
||||
{
|
||||
{ "Region", SettingsStorage.Region }
|
||||
})
|
||||
}
|
||||
|
||||
private void Image_ImageOpened(object sender, RoutedEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user