added new response data from notifications api
This commit is contained in:
@@ -143,9 +143,9 @@ class _MobileNotificationPageState extends State<MobileNotificationPage>
|
||||
),
|
||||
|
||||
if ((viewModel.isLoadingAll &&
|
||||
(viewModel.allNotificationResponse?.data?.notifications?.isEmpty ?? true)) ||
|
||||
(viewModel.allNotificationResponse?.data?.isEmpty ?? true)) ||
|
||||
(viewModel.isLoadingUnread &&
|
||||
(viewModel.unreadNotificationResponse?.data?.notifications?.isEmpty ?? true)))
|
||||
(viewModel.unreadNotificationResponse?.data?.isEmpty ?? true)))
|
||||
const Expanded(
|
||||
child: Center(
|
||||
child: CircularProgressIndicator(color: AppColors.secondary50),
|
||||
|
||||
Reference in New Issue
Block a user