update
This commit is contained in:
@@ -723,14 +723,9 @@ class _BattleScreenState extends State<BattleScreen> {
|
||||
onPressed: () {
|
||||
bool success = battleProvider.selectReward(item);
|
||||
if (!success) {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
const SnackBar(
|
||||
content: Text(
|
||||
"${AppStrings.inventoryFull} Cannot take item.",
|
||||
),
|
||||
backgroundColor:
|
||||
ThemeConfig.snackBarErrorBg,
|
||||
),
|
||||
ToastUtils.showTopToast(
|
||||
context,
|
||||
"${AppStrings.inventoryFull} Cannot take item.",
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user