menu items small fix (wrong images)

This commit is contained in:
Semyon Babushkin
2017-11-23 14:40:29 +03:00
parent eee57e727a
commit 1f6fe22b82

View File

@@ -67,14 +67,14 @@ abstract class BaseState<T extends StatefulWidget> extends State<T> {
menuItemList.add(new PopupMenuItem( menuItemList.add(new PopupMenuItem(
value: 1, value: 1,
child: getMenuItem(settings_png, StringsLocalization.help()) child: getMenuItem(help_png, StringsLocalization.help())
)); ));
helper.getToken().then((token){ helper.getToken().then((token){
if (token != null) { // пользователь авторизован if (token != null) { // пользователь авторизован
menuItemList.add(new PopupMenuItem( menuItemList.add(new PopupMenuItem(
value: 2, value: 2,
child: getMenuItem(settings_png, StringsLocalization.logout()) child: getMenuItem(logout_png, StringsLocalization.logout())
)); ));
} }
}); });