diff --git a/FoxTube/Assets/Data/RevEn.xml b/FoxTube/Assets/Data/RevEn.xml deleted file mode 100644 index 5d5cf2f..0000000 --- a/FoxTube/Assets/Data/RevEn.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - ### What's new: - -- Small fixes -- First public pre-release version -- Some content was cut out due to its incompleteness - - ### Что нового: - -- Мелкие исправления багов -- Эта версия является первой пред-релизной публичной версией -- Некотроые функции были вырезаны из-за их незавершенности - - - - - - ### What's new: - -- 'Live' button fixed in the player -- Long channel names on crads fixed -- Fixed video description disappearing on window resizing -- Player seek is fixed -- Added video buffering progress indicatior -- Small fixes - -### Known issues: - -- Recommended and subscriptions pages aren't implemented -- History isn't implemented -- Playlists management isn't implemented -- Ads aren't implemented - - ### Что нового: - -- Кнопка перехода к прямому эфиру на стримах теперь работает -- Исправлен баг с длинными именами каналов на карточках -- Исправлено исчезание описания видео при изменении размеров окна -- Исправлен ползунок перемотки видео -- Добавлен индикатор буферизации видео -- Мелкие исправления - -### Что по-прежнему не работает: - -- Страница рекомендованных видео и страница видео с подписок -- История -- Работа с плейлистами -- Нет карточек рекламы - - - - diff --git a/FoxTube/Controls/Advert.xaml b/FoxTube/Controls/Advert.xaml deleted file mode 100644 index 5c2bd8e..0000000 --- a/FoxTube/Controls/Advert.xaml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - diff --git a/FoxTube/Controls/Advert.xaml.cs b/FoxTube/Controls/Advert.xaml.cs deleted file mode 100644 index 36d3b90..0000000 --- a/FoxTube/Controls/Advert.xaml.cs +++ /dev/null @@ -1,69 +0,0 @@ -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; - -namespace FoxTube.Controls -{ - public sealed partial class Advert : UserControl - { - public string AdUnitId { get; set; } = "test"; - public string AppId => "3f83fe91-d6be-434d-a0ae-7351c5a997f1"; - public bool OverrideSize { get; set; } = false; - - public new double Height - { - get { return ad.Height; } - set - { - ad.Height = value; - OverrideSize = true; - } - } - - public new double Width - { - get { return ad.Width; } - set - { - ad.Width = value; - OverrideSize = true; - } - } - - public Advert() - { - InitializeComponent(); - if (!SecretsVault.AdsDisabled) - Visibility = Visibility.Visible; - else - Visibility = Visibility.Collapsed; - SecretsVault.Purchased += (s, e) => Visibility = (bool)e[0] ? Visibility.Collapsed : Visibility.Visible; - } - - private void Grid_SizeChanged(object sender, SizeChangedEventArgs e) - { - if (OverrideSize) - return; - - if(grid.ActualWidth >= 728) - { - ad.Width = 728; - ad.Height = 90; - } - else if (grid.ActualWidth >= 640) - { - ad.Width = 640; - ad.Height = 100; - } - else if (grid.ActualWidth >= 320) - { - ad.Width = 320; - ad.Height = 50; - } - else - { - ad.Width = 300; - ad.Height = 50; - } - } - } -} diff --git a/FoxTube/Controls/PlaylistCard.xaml b/FoxTube/Controls/PlaylistCard.xaml index d094c72..58685d5 100644 --- a/FoxTube/Controls/PlaylistCard.xaml +++ b/FoxTube/Controls/PlaylistCard.xaml @@ -1,4 +1,4 @@ - - + diff --git a/FoxTube/Controls/PlaylistCard.xaml.cs b/FoxTube/Controls/PlaylistCard.xaml.cs index ce97d9b..cce19da 100644 --- a/FoxTube/Controls/PlaylistCard.xaml.cs +++ b/FoxTube/Controls/PlaylistCard.xaml.cs @@ -16,7 +16,7 @@ namespace FoxTube.Controls /// /// Playlist card control /// - public sealed partial class PlaylistCard : Page + public sealed partial class PlaylistCard : UserControl { Playlist item; public string playlistId; diff --git a/FoxTube/FoxTube.csproj b/FoxTube/FoxTube.csproj index 2207327..7145a64 100644 --- a/FoxTube/FoxTube.csproj +++ b/FoxTube/FoxTube.csproj @@ -110,9 +110,6 @@ - - Advert.xaml - CardAdvert.xaml @@ -227,7 +224,6 @@ - @@ -297,10 +293,6 @@ MSBuild:Compile Designer - - Designer - MSBuild:Compile - Designer MSBuild:Compile