Skip to content

Commit

Permalink
Changes to prevent non-readable media as option
Browse files Browse the repository at this point in the history
  • Loading branch information
Kara-Zor-El committed Nov 14, 2022
1 parent 614c809 commit a0d84fc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/providers/fetchCategories.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ Future<List<Map<String, dynamic>>> getServerCategories(context) async {
data['Items'].forEach((item) {
categories.add(item['Name']);
});

categories.remove('Shows');
categories.remove('Movies');
categories.remove('Music');
categories.remove('Collections');
categories.remove('shows');
categories.remove('movies');
categories.remove('music');
categories.remove('collections');

List<String> selected = await chooseCategories(categories, context);
List<Future<List<Map<String, dynamic>>>> comicsArray = [];
debugPrint("selected: " + selected.toString());
Expand Down

0 comments on commit a0d84fc

Please sign in to comment.