move TODO comment to proper place

This commit is contained in:
krawieck 2020-12-04 13:59:55 +01:00
parent 33f486576e
commit 1687616480
1 changed files with 1 additions and 1 deletions

View File

@ -22,12 +22,12 @@ import 'inbox.dart';
class HomeTab extends HookWidget { class HomeTab extends HookWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
// TODO: needs to be an observer? for accounts changes
final accStore = useAccountsStore(); final accStore = useAccountsStore();
final selectedList = useState(_SelectedList( final selectedList = useState(_SelectedList(
listingType: accStore.hasNoAccount listingType: accStore.hasNoAccount
? PostListingType.all ? PostListingType.all
: PostListingType.subscribed)); : PostListingType.subscribed));
// TODO: needs to be an observer? for accounts changes
final isc = useInfiniteScrollController(); final isc = useInfiniteScrollController();
final theme = Theme.of(context); final theme = Theme.of(context);
final instancesIcons = useMemoFuture(() async { final instancesIcons = useMemoFuture(() async {