mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-25 08:12:19 +08:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user