Skip to content

Commit

Permalink
rm unused assets, fixes release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
CGQAQ committed Nov 21, 2020
1 parent 4bb7202 commit b0305af
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 98 deletions.
1 change: 1 addition & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ android {

lintOptions {
disable 'InvalidPackage'
checkReleaseBuilds false
}

defaultConfig {
Expand Down
Binary file removed assets/fonts/Courgette/Courgette-Regular.ttf
Binary file not shown.
94 changes: 0 additions & 94 deletions assets/fonts/Courgette/OFL.txt

This file was deleted.

2 changes: 1 addition & 1 deletion lib/views/drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Drawer mainDrawer(
DrawerHeader(
child: Text(
"小说阅读",
style: GoogleFonts.courgette(fontSize: 40),
style: TextStyle(fontSize: 40),
),
decoration: BoxDecoration(color: Colors.blue),
),
Expand Down
3 changes: 0 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ flutter:
# - images/a_dot_ham.jpeg

fonts:
- family: Courgette
fonts:
- asset: assets/fonts/Courgette/Courgette-Regular.ttf
- family: Liu_Jian_Mao_Cao
fonts:
- asset: assets/fonts/Liu_Jian_Mao_Cao/LiuJianMaoCao-Regular.ttf
Expand Down

0 comments on commit b0305af

Please sign in to comment.