Rename `SortPostsPicker` to `PostListOptions`
This commit is contained in:
parent
0da1d229dc
commit
327cc8a208
|
@ -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,
|
||||
});
|
Loading…
Reference in New Issue