         case .selected:   return appDelegate.selectedPlaylist == nil ? 0 : 1
         case .youTube:    return 1
         case .soundCloud: return 1
+        case .spotify:    return 1
         case .favorites:  return playlists.count
         }
     }

                YouTubeKit.APIClient.authorize()
            }
        case .soundCloud:
            if SoundCloudKit.APIClient.shared.isLoggedIn {
                showSoundCloudPlaylists()
            } else {
                SoundCloudKit.APIClient.authorize()
            }
        case .favorites:
            let _ = showPlaylist(playlists[indexPath.item], animated: true)
        }

        case .selected:   return false
        case .youTube:    return false
        case .soundCloud: return false
        case .spotify:    return false
        case .favorites:  return tableView.isEditing
        }
    }
