Skip to content

Commit

Permalink
Fix context issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerardo Guijarro committed Sep 29, 2023
1 parent 8babc66 commit 6e8649d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -227,16 +227,12 @@ class HyphaAppView extends StatelessWidget {
}

void _showJoinDaoRationale(String daoName, String secret, BuildContext context) {
showModalBottomSheet(
useSafeArea: true,
Get.Get.bottomSheet(
JoinDaoRationaleBottomSheet(daoName: daoName, secret: secret),
isScrollControlled: true,
builder: (context) {
return JoinDaoRationaleBottomSheet(daoName: daoName, secret: secret);
},
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(top: Radius.circular(30)),
),
context: context,
);
}
}

0 comments on commit 6e8649d

Please sign in to comment.