fix: menu name

This commit is contained in:
Rafael Saes 2024-05-23 17:08:41 -03:00
parent dc86968022
commit d230904bef

View file

@ -182,7 +182,7 @@ class MenuWidgetState extends State<MenuWidget> {
final item = SettingActions.all[index]; final item = SettingActions.all[index];
if (!widget.dashboardViewModel.hasSilentPayments && if (!widget.dashboardViewModel.hasSilentPayments &&
item.name == S.of(context).silent_payments_settings) { item.name(context) == S.of(context).silent_payments_settings) {
return Container(); return Container();
} }