File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
features/dashboard/presentation/wrapper_page Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import "package:flutter_web_plugins/url_strategy.dart";
99import "package:google_fonts/google_fonts.dart" ;
1010import "package:hooks_riverpod/hooks_riverpod.dart" ;
1111
12+ import "../gen/assets.gen.dart" ;
1213import "../utils/log.dart" ;
1314
1415/// Turn any widget into a flow-blown app.
@@ -66,7 +67,7 @@ void initGoogleFonts() {
6667 GoogleFonts .config.allowRuntimeFetching = false ;
6768 LicenseRegistry .addLicense (() async * {
6869 final license = await rootBundle.loadString (
69- "assets/google_fonts/mr_dafoe/OFL.txt" ,
70+ Assets .googleFonts.mrDafoe.ofl ,
7071 );
7172
7273 yield LicenseEntryWithLineBreaks (["mr_dafoe" ], license);
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import "package:hooks_riverpod/hooks_riverpod.dart";
1010import "package:url_launcher/url_launcher.dart" ;
1111
1212import "../../../../app/app_router.dart" ;
13+ import "../../../../gen/assets.gen.dart" ;
1314import "../../../../gen/version.gen.dart" ;
1415import "../../../../utils/fonts.dart" ;
1516import "../../../../utils/hooks.dart" ;
@@ -99,7 +100,7 @@ class _ExpandedWrapper extends HookConsumerWidget {
99100 ),
100101 AboutListTile (
101102 icon: const Icon (Icons .info),
102- applicationIcon: const FlutterLogo (),
103+ applicationIcon: Assets .icon.icon. image (),
103104 applicationName: "Pattonville Wallet" ,
104105 applicationVersion: packageVersion,
105106 applicationLegalese: "© 2023 Eli D. and Parker H." ,
You can’t perform that action at this time.
0 commit comments