Skip to content

Commit

Permalink
feat: Display advanced security option in enterprise #2584
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Aug 7, 2024
1 parent 732be2e commit 3f90636
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/dashboard/drawer/src/view/drawer_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,20 @@ class DrawerView extends StatelessWidget {
),
const SizedBox(height: Sizes.spaceSmall),
],
if (profileModel.profileType == ProfileType.enterprise &&
profileModel.profileSetting.walletSecurityOptions
.displaySecurityAdvancedSettings) ...[
DrawerCategoryItem(
title: l10n.advanceSettings,
subTitle: l10n
.selectCredentialCategoryWhichYouWantToShowInCredentialList,
onClick: () {
Navigator.of(context)
.push<void>(AdvancedSettingsPage.route());
},
),
const SizedBox(height: Sizes.spaceSmall),
],
if (profileModel
.profileSetting.settingsMenu.displayHelpCenter) ...[
DrawerCategoryItem(
Expand Down

0 comments on commit 3f90636

Please sign in to comment.