From a2f237ede3ecf22cb659ab6d4ae3d50f90769210 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sun, 22 Dec 2019 15:16:41 +0100 Subject: [PATCH] Add scrollbar's in JournalLists and FolderLists Pros: It's nice to know where we are in the list. Cons: It makes the lagging in the list view far far more apparent. --- lib/screens/folder_listing.dart | 2 +- lib/screens/journal_listing.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/screens/folder_listing.dart b/lib/screens/folder_listing.dart index 9d2a8d16..9efd245d 100644 --- a/lib/screens/folder_listing.dart +++ b/lib/screens/folder_listing.dart @@ -120,7 +120,7 @@ class _FolderListingScreenState extends State { if (selectedFolder != null) action, ], ), - body: treeView, + body: Scrollbar(child: treeView), drawer: AppDrawer(), floatingActionButton: CreateFolderButton(), ); diff --git a/lib/screens/journal_listing.dart b/lib/screens/journal_listing.dart index 07f3daf9..f534c1bc 100644 --- a/lib/screens/journal_listing.dart +++ b/lib/screens/journal_listing.dart @@ -64,7 +64,7 @@ class JournalListingScreen extends StatelessWidget { floatingActionButton: createButton, body: Center( child: RefreshIndicator( - child: journalList, + child: Scrollbar(child: journalList), onRefresh: () async { try { await container.syncNotes();