Use bottom bar to scroll to top on home (#90)
This commit is contained in:
parent
5c3b0c6775
commit
bf2818ef5a
11 changed files with 231 additions and 192 deletions
|
|
@ -114,8 +114,14 @@ class _HomeState extends State<Home> {
|
|||
builder: (_) => IndexedStack(
|
||||
index: _homeStore.selectedIndex,
|
||||
children: [
|
||||
if (_authStore.isLoggedIn) const StreamsList(listType: ListType.followed),
|
||||
const TopSection(),
|
||||
if (_authStore.isLoggedIn)
|
||||
StreamsList(
|
||||
listType: ListType.followed,
|
||||
scrollController: _homeStore.followedScrollController,
|
||||
),
|
||||
TopSection(
|
||||
homeStore: _homeStore,
|
||||
),
|
||||
const Search(),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue