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.
This commit is contained in:
Vishesh Handa
2019-12-22 15:16:41 +01:00
parent 2ba5b52f8d
commit a2f237ede3
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ class _FolderListingScreenState extends State<FolderListingScreen> {
if (selectedFolder != null) action,
],
),
body: treeView,
body: Scrollbar(child: treeView),
drawer: AppDrawer(),
floatingActionButton: CreateFolderButton(),
);

View File

@ -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();