diff --git a/packages/smooth_app/lib/generic_lib/dialogs/smooth_alert_dialog.dart b/packages/smooth_app/lib/generic_lib/dialogs/smooth_alert_dialog.dart index dc3d3ccaaec..4edc35d22f6 100644 --- a/packages/smooth_app/lib/generic_lib/dialogs/smooth_alert_dialog.dart +++ b/packages/smooth_app/lib/generic_lib/dialogs/smooth_alert_dialog.dart @@ -35,12 +35,14 @@ class SmoothAlertDialog extends StatelessWidget { shape: const RoundedRectangleBorder( borderRadius: ROUNDED_BORDER_RADIUS, ), - content: Column( - mainAxisSize: MainAxisSize.min, - children: [ - _buildTitle(context), - SizedBox(height: height, child: body), - ], + content: SingleChildScrollView( + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + _buildTitle(context), + SizedBox(height: height, child: body), + ], + ), ), actions: actions == null ? null diff --git a/packages/smooth_app/lib/views/bottom_sheet_views/user_contribution_view.dart b/packages/smooth_app/lib/views/bottom_sheet_views/user_contribution_view.dart index 02ae3e0e9f1..536b38b0b56 100644 --- a/packages/smooth_app/lib/views/bottom_sheet_views/user_contribution_view.dart +++ b/packages/smooth_app/lib/views/bottom_sheet_views/user_contribution_view.dart @@ -210,31 +210,28 @@ class UserContributionView extends StatelessWidget { final List contributors = jsonDecode(snap.data!.body) as List; - return SingleChildScrollView( - child: Wrap( - crossAxisAlignment: WrapCrossAlignment.center, - children: contributors.map((dynamic contributorsData) { - final ContributorsModel _contributor = - ContributorsModel.fromJson( - contributorsData as Map); + return Wrap( + crossAxisAlignment: WrapCrossAlignment.center, + children: contributors.map((dynamic contributorsData) { + final ContributorsModel _contributor = + ContributorsModel.fromJson( + contributorsData as Map); - return Padding( - padding: const EdgeInsets.all(5.0), - child: InkWell( - onTap: () { - LaunchUrlHelper.launchURL( - _contributor.profilePath, false); - }, - child: CircleAvatar( - foregroundImage: - NetworkImage(_contributor.avatarUrl), - backgroundColor: - Theme.of(context).colorScheme.primary, - ), + return Padding( + padding: const EdgeInsets.all(5.0), + child: InkWell( + onTap: () { + LaunchUrlHelper.launchURL( + _contributor.profilePath, false); + }, + child: CircleAvatar( + foregroundImage: NetworkImage(_contributor.avatarUrl), + backgroundColor: + Theme.of(context).colorScheme.primary, ), - ); - }).toList(), - ), + ), + ); + }).toList(), ); }