Rename `SortPostsPicker` to `PostListOptions`

This commit is contained in:
krawieck 2020-09-07 22:49:41 +02:00
parent 0da1d229dc
commit 327cc8a208
1 changed files with 2 additions and 2 deletions

View File

@ -5,11 +5,11 @@ import 'package:lemmy_api_client/lemmy_api_client.dart';
import 'bottom_modal.dart';
class SortPostsPicker extends HookWidget {
class PostListOptions extends HookWidget {
final void Function(SortType sort) onChange;
final SortType defaultSort;
SortPostsPicker({
PostListOptions({
@required this.onChange,
this.defaultSort = SortType.active,
});