Skip to content

Commit

Permalink
reversed upload history order
Browse files Browse the repository at this point in the history
  • Loading branch information
ReightI committed Mar 2, 2023
1 parent 6378793 commit 3d93b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/upload_notifier.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class UploadNotifier extends ChangeNotifier {
void itemUploadCompleted(UploadItem item, {bool error = false}) {
_uploadList.remove(item);
item.error = error;
_uploadHistoryList.add(item);
_uploadHistoryList.insert(0, item);
notifyListeners();
}

Expand Down

0 comments on commit 3d93b3b

Please sign in to comment.