Skip to content

Commit

Permalink
fix: 대본 날짜 기준으로 정렬
Browse files Browse the repository at this point in the history
  • Loading branch information
bunju20 committed Feb 20, 2024
1 parent 9a943d8 commit 29fbf3d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class LearningSessionScreenViewModel extends GetxController {
.collection('users')
.doc(uid)
.collection('paragraph') // 사용자의 paragraph 컬렉션에 접근
.orderBy('dateFormat', descending: true) // DateTime 기준으로 정렬
.get();

final List<Paragraph> fetchedParagraphs = paragraphSnapshot.docs
Expand Down

0 comments on commit 29fbf3d

Please sign in to comment.