FolderView: Remove refresh indicator

Lets just wait for this to be properly implemented in Flutter instead of
hacking around it.

https://github.com/flutter/flutter/issues/54272
This commit is contained in:
Vishesh Handa
2021-07-14 10:04:49 +02:00
parent 825f3917c9
commit 904790de73

View File

@ -182,7 +182,10 @@ class _FolderViewState extends State<FolderView> {
);
}
void _syncRepo(BuildContext context) async {
/*
BUG: https://github.com/flutter/flutter/issues/54272
Future<void> _syncRepo(BuildContext context) async {
try {
var container = context.read<GitJournalRepo>();
await container.syncNotes();
@ -195,6 +198,7 @@ class _FolderViewState extends State<FolderView> {
showSnackbar(context, e.toString());
}
}
*/
void _newPost(EditorType editorType) async {
var folder = widget.notesFolder;