mirror of
https://github.com/zoriya/Opus.git
synced 2026-06-02 06:05:01 +00:00
Solving navigation bugs from playlist tracks to youtube engine.
This commit is contained in:
@@ -1312,6 +1312,9 @@ namespace MusicApp
|
||||
}
|
||||
else
|
||||
{
|
||||
if(PlaylistTracks.instance != null)
|
||||
SupportFragmentManager.BeginTransaction().Remove(PlaylistTracks.instance).CommitNow();
|
||||
|
||||
SupportFragmentManager.BeginTransaction().Replace(Resource.Id.contentView, Pager.NewInstance(1, 0)).AddToBackStack(null).Commit();
|
||||
}
|
||||
SearchableActivity.instance = null;
|
||||
|
||||
@@ -28,6 +28,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
|
||||
protected override void OnCreate(Bundle savedInstanceState)
|
||||
{
|
||||
instance = this;
|
||||
base.OnCreate(savedInstanceState);
|
||||
if (MainActivity.Theme == 1)
|
||||
SetTheme(Resource.Style.DarkTheme);
|
||||
@@ -38,7 +39,6 @@ namespace MusicApp.Resources.Portable_Class
|
||||
SetSupportActionBar(ToolBar);
|
||||
SupportActionBar.Title = "";
|
||||
ListView = FindViewById<ListView>(Resource.Id.searchSuggestions);
|
||||
instance = this;
|
||||
|
||||
ListView.Divider = null;
|
||||
ListView.DividerHeight = 0;
|
||||
|
||||
@@ -213,7 +213,6 @@ namespace MusicApp.Resources.Portable_Class
|
||||
case "youtube#playlist":
|
||||
kind = YtKind.Playlist;
|
||||
videoInfo.youtubeID = video.Id.PlaylistId;
|
||||
Console.WriteLine("&Playlist ID: " + video.Id.PlaylistId);
|
||||
break;
|
||||
case "youtube#channel":
|
||||
kind = YtKind.Channel;
|
||||
@@ -742,7 +741,6 @@ namespace MusicApp.Resources.Portable_Class
|
||||
{
|
||||
if (section.Snippet.Title == "Saved Playlists")
|
||||
{
|
||||
Console.WriteLine("&Section found");
|
||||
//AddToSection
|
||||
if (section.ContentDetails.Playlists.Contains(playlistID))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user