diff --git a/lib/views/pages/user/notifications/notification_filter_page.dart b/lib/views/pages/user/notifications/notification_filter_page.dart index ef48a331..ca97a5c0 100644 --- a/lib/views/pages/user/notifications/notification_filter_page.dart +++ b/lib/views/pages/user/notifications/notification_filter_page.dart @@ -126,7 +126,7 @@ class _NotificationFilterPageState extends State { body: Column( children: [ SingleChildScrollView( - padding: const EdgeInsets.all(12), + padding: const EdgeInsets.all(16), child: Column( crossAxisAlignment: CrossAxisAlignment.stretch, children: [ @@ -149,10 +149,7 @@ class _NotificationFilterPageState extends State { }); }, ), - 12.height, - - // Filter by Module InfoHeader16Widget("Module"), 8.height, SingleItemDropDownMenu( @@ -175,10 +172,7 @@ class _NotificationFilterPageState extends State { }); }, ), - 12.height, - - // Filter by SubModule InfoHeader16Widget("SubModule"), 8.height, SingleItemDropDownMenu( @@ -200,10 +194,7 @@ class _NotificationFilterPageState extends State { }); }, ), - 12.height, - - // Date Range Filter InfoHeader16Widget(context.translation.pickDate), 8.height, Row( diff --git a/lib/views/pages/user/notifications/notifications_page.dart b/lib/views/pages/user/notifications/notifications_page.dart index 938f6cae..3d146705 100644 --- a/lib/views/pages/user/notifications/notifications_page.dart +++ b/lib/views/pages/user/notifications/notifications_page.dart @@ -234,13 +234,7 @@ class _NotificationsPageState extends State with TickerProvid children: [ Transform.flip( flipY: isAscending, - child: 'dashboard/sort_descending' - .toSvgAsset( - width: 20, - height: 20, - color: AppColor.iconColor(context), - ) - .onPress(() { + child: 'dashboard/sort_descending'.toSvgAsset(width: 20, height: 20, color: AppColor.iconColor(context)).onPress(() { _toggleSort(); }), ), @@ -248,13 +242,7 @@ class _NotificationsPageState extends State with TickerProvid Stack( clipBehavior: Clip.none, children: [ - 'filter' - .toSvgAsset( - width: 20, - height: 20, - color: AppColor.iconColor(context), - ) - .onPress(() async { + 'filter'.toSvgAsset(width: 20, height: 20, color: AppColor.iconColor(context)).onPress(() async { // Open filter page final result = await Navigator.push( context,