Skip to content

Commit

Permalink
refactor: updated comic's entry in handler and dimension init
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanYuuki committed Nov 25, 2024
1 parent ea4c242 commit be2692d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/utils/dimensions.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Dimensionsion
int maxMobileWidth = 768;
int maxMobileWidth = 500;
int desktopWidth = 1280;
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class GogoAnime implements SourceBase {
// final streamwishLink = _getServerUrl("streamwish", serverLinks);
// final vidhideLink = _getServerUrl("vidhide", serverLinks);

// Initialize the mapped data
final Map<String, dynamic> mappedData = {
"sources": [],
"tracks": [],
Expand Down
2 changes: 2 additions & 0 deletions lib/utils/sources/anime/handler/sources_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import 'package:aurora/utils/sources/anime/extensions/aniwatch_api/api.dart';
import 'package:aurora/utils/sources/anime/base/source_base.dart';
import 'package:aurora/utils/sources/anime/extensions/aniwatch/aniwatch.dart';
import 'package:aurora/utils/sources/anime/extensions/gogoanime/gogoanime.dart';
import 'package:aurora/utils/sources/anime/extensions/hiddenleaf/hiddenleaf.dart';
import 'package:aurora/utils/sources/anime/extensions/yugenanime/yugenanime.dart';
import 'package:aurora/utils/sources/manga/helper/jaro_helper.dart';

Expand All @@ -15,6 +16,7 @@ class SourcesHandler {
"YugenAnime": YugenAnime(),
"AnimePahe": AnimePahe(),
"AniVibe": AniVibe(),
"HiddenLeaf": HiddenLeaf()
};

SourcesHandler() {
Expand Down
4 changes: 3 additions & 1 deletion lib/utils/sources/manga/handlers/manga_sources_handler.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'dart:developer';
import 'package:aurora/utils/sources/manga/extensions/comick.dart';
import 'package:aurora/utils/sources/manga/extensions/mangabat.dart';
import 'package:aurora/utils/sources/manga/extensions/mangafire.dart';
import 'package:aurora/utils/sources/manga/extensions/mangakakalot.dart';
import 'package:aurora/utils/sources/manga/extensions/mangakakalot_unofficial.dart';
import 'package:aurora/utils/sources/manga/extensions/manganato.dart';
Expand All @@ -12,7 +13,8 @@ class MangaSourceHandler {
"MangaKakalot": MangaKakalot(),
"MangaBat": MangaBat(),
"MangaNato": MangaNato(),
"ComicK": Comick()
"ComicK": Comick(),
"MangaFire": MangaFire(),
};

String? selectedSourceName = "";
Expand Down

0 comments on commit be2692d

Please sign in to comment.