notifications colors fix

This commit is contained in:
amirrezaghabeli
2025-09-29 09:15:40 +03:30
parent bc89e69209
commit 4ef3ca206d
8 changed files with 39 additions and 26 deletions
@@ -123,7 +123,10 @@ class NotificationCard extends StatelessWidget {
const Spacer(),
TextButton(
onPressed: () {
viewModel.markAsRead(notificationId: notification.id!);
if (!notification.seen!) {
viewModel.markAsRead(notificationId: notification.id!);
}
showDialog(
context: context,
builder: (context) {