mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 03:19:11 +08:00
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:
@ -120,7 +120,7 @@ class _FolderListingScreenState extends State<FolderListingScreen> {
|
|||||||
if (selectedFolder != null) action,
|
if (selectedFolder != null) action,
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
body: treeView,
|
body: Scrollbar(child: treeView),
|
||||||
drawer: AppDrawer(),
|
drawer: AppDrawer(),
|
||||||
floatingActionButton: CreateFolderButton(),
|
floatingActionButton: CreateFolderButton(),
|
||||||
);
|
);
|
||||||
|
@ -64,7 +64,7 @@ class JournalListingScreen extends StatelessWidget {
|
|||||||
floatingActionButton: createButton,
|
floatingActionButton: createButton,
|
||||||
body: Center(
|
body: Center(
|
||||||
child: RefreshIndicator(
|
child: RefreshIndicator(
|
||||||
child: journalList,
|
child: Scrollbar(child: journalList),
|
||||||
onRefresh: () async {
|
onRefresh: () async {
|
||||||
try {
|
try {
|
||||||
await container.syncNotes();
|
await container.syncNotes();
|
||||||
|
Reference in New Issue
Block a user