add comma to make formatting more sane

This commit is contained in:
krawieck 2020-10-06 16:23:29 +02:00
parent 585baf58f9
commit b82622190f
1 changed files with 80 additions and 78 deletions

View File

@ -62,8 +62,8 @@ class HomeTab extends HookWidget {
ListTile( ListTile(
title: Text('Subscribed'), title: Text('Subscribed'),
leading: SizedBox(width: 20, height: 20), leading: SizedBox(width: 20, height: 20),
onTap: () => onTap: () => pop(
pop(SelectedList(listingType: PostListingType.subscribed)), SelectedList(listingType: PostListingType.subscribed)),
), ),
ListTile( ListTile(
title: Text('All'), title: Text('All'),
@ -119,7 +119,8 @@ class HomeTab extends HookWidget {
onTap: accStore.isAnonymousFor(instance) onTap: accStore.isAnonymousFor(instance)
? () => showCupertinoModalPopup( ? () => showCupertinoModalPopup(
context: context, context: context,
builder: (_) => AddAccountPage(instanceUrl: instance)) builder: (_) =>
AddAccountPage(instanceUrl: instance))
: () => pop(SelectedList( : () => pop(SelectedList(
listingType: PostListingType.subscribed, listingType: PostListingType.subscribed,
instanceUrl: instance, instanceUrl: instance,
@ -136,7 +137,8 @@ class HomeTab extends HookWidget {
), ),
] ]
], ],
)); ),
);
}, },
); );
if (val != null) { if (val != null) {