Skip to content

Commit

Permalink
Merge pull request #10 from D-extremity/backend
Browse files Browse the repository at this point in the history
Backend
  • Loading branch information
D-extremity authored Oct 30, 2023
2 parents f7c7f50 + 26c272f commit a79ecfe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/authorization/chatservice.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ChatService {
.collection('Chat Rooms')
.doc(chatRoomId)
.collection('messages')
.orderBy('timeStamp', descending: false)
.orderBy('timeStamp', descending: true)
.snapshots();
}
}
1 change: 0 additions & 1 deletion lib/models/chatmodel.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// ignore_for_file: public_member_api_docs, sort_constructors_first
import 'dart:convert';

import 'package:cloud_firestore/cloud_firestore.dart';

Expand Down

0 comments on commit a79ecfe

Please sign in to comment.