From 327cc8a208a2541ae33b170b5eea8fede5edb8d1 Mon Sep 17 00:00:00 2001 From: krawieck Date: Mon, 7 Sep 2020 22:49:41 +0200 Subject: [PATCH] Rename `SortPostsPicker` to `PostListOptions` --- .../{sort_posts_picker.dart => post_list_options.dart} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lib/widgets/{sort_posts_picker.dart => post_list_options.dart} (97%) diff --git a/lib/widgets/sort_posts_picker.dart b/lib/widgets/post_list_options.dart similarity index 97% rename from lib/widgets/sort_posts_picker.dart rename to lib/widgets/post_list_options.dart index 2c54225..4975c09 100644 --- a/lib/widgets/sort_posts_picker.dart +++ b/lib/widgets/post_list_options.dart @@ -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, });