diff --git a/lib/videos/states/add_to_playlist.dart b/lib/videos/states/add_to_playlist.dart index b427f163..6b037900 100644 --- a/lib/videos/states/add_to_playlist.dart +++ b/lib/videos/states/add_to_playlist.dart @@ -43,6 +43,8 @@ class AddToPlaylistCubit extends Cubit { late List playlists; if (state.isLoggedIn) { playlists = await service.getUserPlaylists(); + } else { + playlists = List.empty(); } emit(state.copyWith(playlists: playlists, loading: false)); } diff --git a/submodules/flutter b/submodules/flutter index ef1af02a..db7ef5bf 160000 --- a/submodules/flutter +++ b/submodules/flutter @@ -1 +1 @@ -Subproject commit ef1af02aead6fe2414f3aafa5a61087b610e1332 +Subproject commit db7ef5bf9f59442b0e200a90587e8fa5e0c6336a