Skip to content

Commit 1660c70

Browse files
committed
[fix]: Fixed issue with overflow
1 parent 5c80f2c commit 1660c70

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

android/app/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,15 @@ if (keystorePropertiesFile.exists()) {
3232
}
3333

3434

35+
3536
android {
3637
compileSdkVersion 33
3738

3839
lintOptions {
3940
disable 'InvalidPackage'
41+
disable "Instantiatable"
42+
checkReleaseBuilds false
43+
abortOnError false
4044
}
4145

4246
defaultConfig {
@@ -81,6 +85,4 @@ dependencies {
8185
testImplementation 'junit:junit:4.13.2'
8286
androidTestImplementation 'androidx.test:runner:1.5.2'
8387
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
84-
85-
8688
}

lib/Pages/nav_drawer.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,13 @@ class _MenuState extends State<Menu> {
208208
controller.toggle();
209209
},
210210
title: 'PS4'),
211-
NavDrawerListTile(
212-
icon: FontAwesomeIcons.xbox,
213-
onTap: () {
214-
controller.position = 3;
215-
controller.toggle();
216-
},
217-
title: 'Xbox'),
211+
// NavDrawerListTile(
212+
// icon: FontAwesomeIcons.xbox,
213+
// onTap: () {
214+
// controller.position = 3;
215+
// controller.toggle();
216+
// },
217+
// title: 'Xbox'),
218218
NavDrawerListTile(
219219
icon: Icons.check,
220220
onTap: () {

lib/Widgets/ps4_game_card.dart

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ class _PS4GameCardState extends State<PS4GameCard> {
9696
child: Hero(
9797
tag: '${widget.game.gameName}',
9898
child: CachedNetworkImage(
99+
width: 80,
100+
height: 80,
99101
imageUrl: widget.game.gameImageUrl,
100102
placeholder: (context, url) =>
101103
new CircularProgressIndicator(
@@ -120,7 +122,7 @@ class _PS4GameCardState extends State<PS4GameCard> {
120122
Icon(
121123
LineAwesomeIcons.trophy,
122124
color: goldenColor,
123-
size: 25,
125+
size: 20,
124126
),
125127
Text(
126128
' ' + widget.game.gold,
@@ -139,7 +141,7 @@ class _PS4GameCardState extends State<PS4GameCard> {
139141
Icon(
140142
LineAwesomeIcons.trophy,
141143
color: silverColor,
142-
size: 25,
144+
size: 20,
143145
),
144146
Text(
145147
' ' + widget.game.silver,
@@ -158,7 +160,7 @@ class _PS4GameCardState extends State<PS4GameCard> {
158160
Icon(
159161
LineAwesomeIcons.trophy,
160162
color: bronzeColor,
161-
size: 25,
163+
size: 20,
162164
),
163165
Text(
164166
' ' + widget.game.bronze,

0 commit comments

Comments
 (0)