move TODO comment to proper place
This commit is contained in:
parent
33f486576e
commit
1687616480
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue