Skip to content

Commit

Permalink
Merge c4ca056 into 3bb4431
Browse files Browse the repository at this point in the history
  • Loading branch information
bkonyi committed Aug 13, 2021
2 parents 3bb4431 + c4ca056 commit cebe3cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/src/models/subreddit_moderation.dart
Expand Up @@ -380,7 +380,7 @@ SuggestedCommentSort? stringToSuggestedCommentSort(String? s) {
case 'live':
return SuggestedCommentSort.live;
case 'new':
return SuggestedCommentSort.newer;
return SuggestedCommentSort.newest;
case 'old':
return SuggestedCommentSort.old;
case 'qa':
Expand Down
2 changes: 1 addition & 1 deletion lib/src/util.dart
Expand Up @@ -82,7 +82,7 @@ Stream<T?> streamGenerator<T>(function,
// TODO(SupremeDeity): Confirm if the ?? is necessary
await for (final item in function(params: <String, String?>{
'limit': min(limit, itemLimit ?? limit).toString(),
'before': beforeFullname ?? ''
if (beforeFullname != null) 'before': beforeFullname,
})) {
results.add(item);
}
Expand Down
2 changes: 1 addition & 1 deletion test/auth/web_auth.dart
Expand Up @@ -139,5 +139,5 @@ Future<void> main() async {
// and file an issue against package:test if needed.
// expect(() async => await redditRestored.user.me(),
// throwsA(isInstanceOf<DRAWAuthenticationError>()));
});
}, skip: 'https://github.com/draw-dev/DRAW/issues/209');
}

0 comments on commit cebe3cf

Please sign in to comment.