Skip to content

Commit

Permalink
feat: Remove polygon id from did menu #3001
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Oct 28, 2024
1 parent 416bcb3 commit c2d236d
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions lib/dashboard/drawer/ssi/manage_did/view/did_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,32 +73,32 @@ class DidView extends StatelessWidget {
);
},
),
DrawerItem(
title: l10n.polygonDecentralizedID,
onTap: () async {
LoadingView().show(context: context);
try {
final polygonIdCubit = context.read<PolygonIdCubit>();
await polygonIdCubit.initialise();
LoadingView().hide();
await Navigator.of(context)
.push<void>(ManageDidPolygonIdPage.route());
} catch (e) {
LoadingView().hide();
AlertMessage.showStateMessage(
context: context,
stateMessage: StateMessage.error(
showDialog: true,
//stringMessage: e.toString(),
messageHandler: ResponseMessage(
message: ResponseString
.RESPONSE_STRING_deviceIncompatibilityMessage,
),
),
);
}
},
),
// DrawerItem(
// title: l10n.polygonDecentralizedID,
// onTap: () async {
// LoadingView().show(context: context);
// try {
// final polygonIdCubit = context.read<PolygonIdCubit>();
// await polygonIdCubit.initialise();
// LoadingView().hide();
// await Navigator.of(context)
// .push<void>(ManageDidPolygonIdPage.route());
// } catch (e) {
// LoadingView().hide();
// AlertMessage.showStateMessage(
// context: context,
// stateMessage: StateMessage.error(
// showDialog: true,
// //stringMessage: e.toString(),
// messageHandler: ResponseMessage(
// message: ResponseString
// .RESPONSE_STRING_deviceIncompatibilityMessage,
// ),
// ),
// );
// }
// },
// ),
DrawerItem(
title: l10n.jwkThumbprintP256Key,
onTap: () {
Expand Down

0 comments on commit c2d236d

Please sign in to comment.