#219: Fixed
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<local:VideoGrid/>
|
||||
</ScrollViewer>
|
||||
<CommandBar Grid.Row="1" DefaultLabelPosition="Right">
|
||||
<AppBarButton LabelPosition="Default" Icon="Help" Label="Missing some stuff?" Name="help" Click="help_Click"/>
|
||||
<AppBarButton Icon="Refresh" Label="Refresh" Name="refresh" Click="Refresh_Click"/>
|
||||
<AppBarButton Label="Open in browser" Icon="Globe" Name="toBrowser" Click="toBrowser_Click"/>
|
||||
</CommandBar>
|
||||
<foxtube:LoadingPage Visibility="Collapsed" Grid.RowSpan="2"/>
|
||||
|
||||
@@ -34,10 +34,7 @@ namespace FoxTube.Pages
|
||||
public void Initialize()
|
||||
{
|
||||
loading.Refresh();
|
||||
|
||||
list.Clear();
|
||||
SecretsVault.UserHistory.ForEach(i => list.Add(new VideoCard(i.Id)));
|
||||
|
||||
|
||||
loading.Close();
|
||||
}
|
||||
|
||||
@@ -46,9 +43,9 @@ namespace FoxTube.Pages
|
||||
await Launcher.LaunchUriAsync(new Uri("youtube.com/feed/history"));
|
||||
}
|
||||
|
||||
private void help_Click(object sender, RoutedEventArgs e)
|
||||
private void Refresh_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Methods.MainPage.GoToDeveloper("local-history");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<controls:AdaptiveGridView ItemsSource="{x:Bind list}" DesiredWidth="250" Margin="5,0,0,0">
|
||||
<controls:AdaptiveGridView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" Padding="5">
|
||||
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" Padding="5" Tag="{Binding Path=Snippet.ResourceId.ChannelId}" Click="Button_Click">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="55"/>
|
||||
|
||||
@@ -28,5 +28,10 @@ namespace FoxTube.Pages
|
||||
{
|
||||
this.InitializeComponent();
|
||||
}
|
||||
|
||||
private void Button_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Methods.MainPage.GoToChannel(((Button)sender).Tag.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,6 +37,12 @@
|
||||
<local:VideoPlayer/>
|
||||
<PivotItem Header="Description" Name="descriptionPanel">
|
||||
<StackPanel Margin="0,10">
|
||||
<Button Visibility="Collapsed">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<FontIcon Glyph="" Margin="0,0,10,0"/>
|
||||
<TextBlock Text="Continue watching from HH:MM:SS"/>
|
||||
</StackPanel>
|
||||
</Button>
|
||||
<TextBlock IsTextSelectionEnabled="True" Name="title" Text="[Video title]" FontSize="25" TextWrapping="WrapWholeWords" HorizontalTextAlignment="Start"/>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
|
||||
Reference in New Issue
Block a user