Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tibfox committed Sep 5, 2022
1 parent 92bb4ac commit baf1c0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ class SuggestedChannels extends StatelessWidget {
return ResponsiveLayout(
desktopBody: SuggestedChannelsDesktop(
avatarSize: avatarSize,
crossAxisCount: crossAxisCount!,
crossAxisCount: crossAxisCount != null ? crossAxisCount! : 1,
),
mobileBody: SuggestedChannelsMobile(avatarSize: avatarSize),
tabletBody: SuggestedChannelsDesktop(
avatarSize: avatarSize,
crossAxisCount: crossAxisCount!,
crossAxisCount: crossAxisCount != null ? crossAxisCount! : 1,
),
);
}
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/widgets/Suggestions/UserList.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class UserList extends StatelessWidget {
userlist: userlist,
title: title,
showCount: showCount,
crossAxisCount: crossAxisCount!,
crossAxisCount: crossAxisCount != null ? crossAxisCount! : 3,
avatarSize: avatarSize),
mobileBody: UserListMobile(
userlist: userlist,
Expand All @@ -42,7 +42,7 @@ class UserList extends StatelessWidget {
userlist: userlist,
title: title,
showCount: showCount,
crossAxisCount: crossAxisCount!,
crossAxisCount: crossAxisCount != null ? crossAxisCount! : 3,
avatarSize: avatarSize),
);
}
Expand Down

0 comments on commit baf1c0a

Please sign in to comment.