protected override void BackButtonWasPressed(ViewController topViewController)
        {
            _moreSongsView.Cleanup();
            var mainFlow = BeatSaberMarkupLanguage.BeatSaberUI.MainFlowCoordinator;

            mainFlow.DismissFlowCoordinator(this);
        }
 protected override void BackButtonWasPressed(ViewController topViewController)
 {
     if (_songDetailView.isInViewControllerHierarchy)
     {
         PopViewControllersFromNavigationController(_moreSongsNavigationcontroller, 1, null, true);
     }
     _moreSongsView.Cleanup();
     _downloadQueueView.AbortAllDownloads();
     ParentFlowCoordinator.DismissFlowCoordinator(this);
 }
Esempio n. 3
0
        protected override void BackButtonWasPressed(ViewController topViewController)
        {
            if (_songDetailView.isInViewControllerHierarchy)
            {
                PopViewControllersFromNavigationController(_moreSongsNavigationcontroller, 1, null, true);
            }
            _moreSongsView.Cleanup();
            _downloadQueueView.AbortAllDownloads();
            var mainFlow = BeatSaberMarkupLanguage.BeatSaberUI.MainFlowCoordinator;

            mainFlow.DismissFlowCoordinator(this);
        }