diff --git a/lib/app.dart b/lib/app.dart index 2b3da449..b3c3572f 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -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, ); } }