Bug fixes
This commit is contained in:
@@ -423,7 +423,7 @@ namespace FoxTube
|
||||
|
||||
public void GoToChannel(string id)
|
||||
{
|
||||
MinimizeVideo();
|
||||
MinimizeAsInitializer();
|
||||
content.Navigate(typeof(ChannelPage), id);
|
||||
}
|
||||
|
||||
@@ -445,13 +445,13 @@ namespace FoxTube
|
||||
|
||||
public void GoToDeveloper(string id)
|
||||
{
|
||||
MinimizeVideo();
|
||||
MinimizeAsInitializer();
|
||||
content.Navigate(typeof(Settings), "inbox");
|
||||
}
|
||||
|
||||
public void GoToPlaylist(string id)
|
||||
{
|
||||
MinimizeVideo();
|
||||
MinimizeAsInitializer();
|
||||
content.Navigate(typeof(PlaylistPage), id);
|
||||
}
|
||||
|
||||
@@ -498,6 +498,14 @@ namespace FoxTube
|
||||
}
|
||||
}
|
||||
|
||||
public void MinimizeAsInitializer()
|
||||
{
|
||||
try
|
||||
{
|
||||
(videoPlaceholder.Content as VideoPage).player.minimize_Click(this, null);
|
||||
}
|
||||
}
|
||||
|
||||
public void MinimizeVideo()
|
||||
{
|
||||
videoPlaceholder.Width = 432;
|
||||
|
||||
Reference in New Issue
Block a user