From 904790de73290199d7461c2d021a60e804c287e7 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Wed, 14 Jul 2021 10:04:49 +0200 Subject: [PATCH] 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 --- lib/folder_views/folder_view.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/folder_views/folder_view.dart b/lib/folder_views/folder_view.dart index 2fcb77b5..5bf3bb6f 100644 --- a/lib/folder_views/folder_view.dart +++ b/lib/folder_views/folder_view.dart @@ -182,7 +182,10 @@ class _FolderViewState extends State { ); } - void _syncRepo(BuildContext context) async { + /* + BUG: https://github.com/flutter/flutter/issues/54272 + + Future _syncRepo(BuildContext context) async { try { var container = context.read(); await container.syncNotes(); @@ -195,6 +198,7 @@ class _FolderViewState extends State { showSnackbar(context, e.toString()); } } + */ void _newPost(EditorType editorType) async { var folder = widget.notesFolder;