Skip to content

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfteam committed Mar 30, 2021
1 parent 0bc25a1 commit 0d0a4ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/presentation/shared/circle_character.dart
Expand Up @@ -24,7 +24,7 @@ class CircleCharacter extends StatelessWidget {
return CircleItem(
image: image,
forDrag: forDrag,
onTap: (_) => _gotoCharacterPage(context),
onTap: (img) => onTap != null ? onTap(img) : _gotoCharacterPage(context),
radius: radius,
);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/presentation/shared/circle_weapon.dart
Expand Up @@ -25,7 +25,7 @@ class CircleWeapon extends StatelessWidget {
image: image,
radius: radius,
forDrag: forDrag,
onTap: (_) => _gotoWeaponPage(context),
onTap: (img) => onTap != null ? onTap(img) : _gotoWeaponPage(context),
);
}

Expand Down

0 comments on commit 0d0a4ba

Please sign in to comment.