notifications colors fix
This commit is contained in:
@@ -3,6 +3,7 @@ import 'package:provider/provider.dart';
|
||||
import 'package:tm_app/view_models/notification_view_model.dart';
|
||||
import 'package:tm_app/views/notification/strings/notification_strings.dart';
|
||||
|
||||
import '../../../core/theme/colors.dart';
|
||||
import 'notification_card.dart';
|
||||
|
||||
class NotificationAllTab extends StatelessWidget {
|
||||
@@ -16,7 +17,9 @@ class NotificationAllTab extends StatelessWidget {
|
||||
|
||||
if (viewModel.isLoadingAll &&
|
||||
(viewModel.allNotificationResponse?.data?.isEmpty ?? true)) {
|
||||
return const Center(child: CircularProgressIndicator());
|
||||
return const Center(
|
||||
child: CircularProgressIndicator(color: AppColors.cyanTeal),
|
||||
);
|
||||
}
|
||||
|
||||
final notifications = viewModel.allNotificationResponse?.data ?? [];
|
||||
@@ -38,4 +41,3 @@ class NotificationAllTab extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user