From 8fb5bfb88f09155148f210cefed2f775afd79bf1 Mon Sep 17 00:00:00 2001 From: Saif Nbet Date: Fri, 27 Sep 2024 00:05:24 +0100 Subject: [PATCH] chore: remove unnecessary code --- .../proposals/details/components/proposal_details_view.dart | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/ui/proposals/details/components/proposal_details_view.dart b/lib/ui/proposals/details/components/proposal_details_view.dart index 771c32e9..d9a471a3 100644 --- a/lib/ui/proposals/details/components/proposal_details_view.dart +++ b/lib/ui/proposals/details/components/proposal_details_view.dart @@ -45,10 +45,6 @@ class _ProposalDetailsViewState extends State { } } - // void _initSwitchValue(ProposalDetailsModel proposalDetailsModel) { - // _isShownNotifier.value = proposalDetailsModel.utilityAmount != null; - // } - @override Widget build(BuildContext context) { return HyphaPageBackground( @@ -68,7 +64,6 @@ class _ProposalDetailsViewState extends State { _detailsNotifier.value = _proposalDetailsModel.description; WidgetsBinding.instance.addPostFrameCallback((_) { _checkIfTextIsOverflowing(); - // _initSwitchValue(_proposalDetailsModel); }); return Padding( padding: const EdgeInsets.symmetric(horizontal: 30),