diff --git a/lib/main.dart b/lib/main.dart index b3be12e..9ff794c 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -39,14 +39,14 @@ class MyApp extends StatelessWidget { return DynamicColorBuilder( builder: (ColorScheme? lightDynamic, ColorScheme? darkDynamic) { return MaterialApp( - builder: (BuildContext context, Widget? child) { - return MediaQuery( - data: MediaQuery.of(context).copyWith( - textScaleFactor: 1.0, - ), - child: child!, - ); - }, + // builder: (BuildContext context, Widget? child) { + // return MediaQuery( + // data: MediaQuery.of(context).copyWith( + // textScaleFactor: 1.0, + // ), + // child: child!, + // ); + // }, debugShowCheckedModeBanner: false, title: 'Openlib', theme: ThemeData( diff --git a/pubspec.lock b/pubspec.lock index b2b322f..539280a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -145,6 +145,14 @@ packages: url: "https://pub.dev" source: hosted version: "5.3.0" + dynamic_color: + dependency: "direct main" + description: + name: dynamic_color + sha256: de4798a7069121aee12d5895315680258415de9b00e717723a1bd73d58f0126d + url: "https://pub.dev" + source: hosted + version: "1.6.6" epub_view: dependency: "direct main" description: