Skip to content

Commit

Permalink
chore: remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
nbetsaif committed Sep 26, 2024
1 parent dd3f621 commit 8fb5bfb
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ class _ProposalDetailsViewState extends State<ProposalDetailsView> {
}
}

// void _initSwitchValue(ProposalDetailsModel proposalDetailsModel) {
// _isShownNotifier.value = proposalDetailsModel.utilityAmount != null;
// }

@override
Widget build(BuildContext context) {
return HyphaPageBackground(
Expand All @@ -68,7 +64,6 @@ class _ProposalDetailsViewState extends State<ProposalDetailsView> {
_detailsNotifier.value = _proposalDetailsModel.description;
WidgetsBinding.instance.addPostFrameCallback((_) {
_checkIfTextIsOverflowing();
// _initSwitchValue(_proposalDetailsModel);
});
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 30),
Expand Down

0 comments on commit 8fb5bfb

Please sign in to comment.