merge with conflict
This commit is contained in:
@@ -45,9 +45,9 @@ class NotificationViewModel with ChangeNotifier {
|
||||
/// Fetch notifications
|
||||
Future<void> getNotifications({int page = 1, bool isMobile = false}) async {
|
||||
if (isMobile && page > 1) {
|
||||
_isMoreLoading = true; // 👈 لودینگ فقط برای پیج بعدی
|
||||
_isMoreLoading = true;
|
||||
} else {
|
||||
_isLoading = true; // 👈 لودینگ عادی (اولین بار یا رفرش)
|
||||
_isLoading = true;
|
||||
}
|
||||
notifyListeners();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user