From 6c2c0542f26e2e61214adf322f646123dd72ccb2 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 5 May 2021 08:19:44 +0300 Subject: [PATCH] Tests --- .github/workflows/test.yml | 2 +- lib/ui/app/menu_drawer.dart | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0a74b5142..7c1f56ea4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: device: - #- "iPhone 11 Pro (14.4)" + - "iPhone 11 Pro (14.4)" - "iPad Pro (9.7-inch) (14.4)" fail-fast: false runs-on: macos-latest diff --git a/lib/ui/app/menu_drawer.dart b/lib/ui/app/menu_drawer.dart index 45e3c0ab5..febefdaea 100644 --- a/lib/ui/app/menu_drawer.dart +++ b/lib/ui/app/menu_drawer.dart @@ -266,7 +266,8 @@ class MenuDrawer extends StatelessWidget { ), onTap: () => launch(kDebugModeUrl), ), - if (state.company.isDisabled) + if (state.company.isDisabled && + state.userCompany.isAdmin) if (state.isMenuCollapsed) Tooltip( message: localization.companyDisabledWarning,