Localization fixed. Player fixes. Menu fixes
Related Work Items: #243, #245
This commit is contained in:
@@ -294,6 +294,7 @@ namespace FoxTube
|
|||||||
{
|
{
|
||||||
seek.Value = controller.Position.TotalMilliseconds;
|
seek.Value = controller.Position.TotalMilliseconds;
|
||||||
seekIndicator.Value = seek.Value;
|
seekIndicator.Value = seek.Value;
|
||||||
|
bufferingLevel.Value = videoPlayer.PlaybackSession.DownloadProgress * 100;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
@@ -777,11 +778,6 @@ namespace FoxTube
|
|||||||
LoadTrack();
|
LoadTrack();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void videoSource_BufferingProgressChanged(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
bufferingLevel.Value = videoPlayer.PlaybackSession.DownloadProgress * 100;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void GotoLive_Click(object sender, RoutedEventArgs e) //TODO: Refactor
|
private void GotoLive_Click(object sender, RoutedEventArgs e) //TODO: Refactor
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|||||||
@@ -220,6 +220,9 @@ namespace FoxTube
|
|||||||
}
|
}
|
||||||
else if (e[0] as bool? == false)
|
else if (e[0] as bool? == false)
|
||||||
{
|
{
|
||||||
|
for (int k = nav.MenuItems.Count - 1; k > 8; k--)
|
||||||
|
nav.MenuItems.RemoveAt(k);
|
||||||
|
|
||||||
account.Visibility = Visibility.Visible;
|
account.Visibility = Visibility.Visible;
|
||||||
avatar.Visibility = Visibility.Collapsed;
|
avatar.Visibility = Visibility.Collapsed;
|
||||||
|
|
||||||
@@ -232,8 +235,6 @@ namespace FoxTube
|
|||||||
subsHeader.Visibility = Visibility.Collapsed;
|
subsHeader.Visibility = Visibility.Collapsed;
|
||||||
|
|
||||||
subsHeader.Visibility = Visibility.Collapsed;
|
subsHeader.Visibility = Visibility.Collapsed;
|
||||||
for(int k = 9; k < nav.MenuItems.Count; k++)
|
|
||||||
nav.MenuItems.RemoveAt(k);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -180,7 +180,7 @@
|
|||||||
<data name="signEx.Text" xml:space="preserve">
|
<data name="signEx.Text" xml:space="preserve">
|
||||||
<value>Sign in with existing account</value>
|
<value>Sign in with existing account</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="signIn.Content" xml:space="preserve">
|
<data name="signIn.Text" xml:space="preserve">
|
||||||
<value>Add account</value>
|
<value>Add account</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="signNew.Text" xml:space="preserve">
|
<data name="signNew.Text" xml:space="preserve">
|
||||||
|
|||||||
@@ -180,7 +180,7 @@
|
|||||||
<data name="signEx.Text" xml:space="preserve">
|
<data name="signEx.Text" xml:space="preserve">
|
||||||
<value>Войти с помощью существующего аккаунта Google</value>
|
<value>Войти с помощью существующего аккаунта Google</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="signIn.Content" xml:space="preserve">
|
<data name="signIn.Text" xml:space="preserve">
|
||||||
<value>Войти в аккаунт</value>
|
<value>Войти в аккаунт</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="signNew.Text" xml:space="preserve">
|
<data name="signNew.Text" xml:space="preserve">
|
||||||
|
|||||||
Reference in New Issue
Block a user