From aef0648baa4209e99c21051f3a8bf06f243f678a Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Fri, 18 Jan 2019 17:39:58 +0100 Subject: [PATCH] Fix problems spotted by `flutter analyze` --- lib/note_viewer.dart | 2 ++ lib/storage/git_storage.dart | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/note_viewer.dart b/lib/note_viewer.dart index 20766a1a..ead28ec8 100644 --- a/lib/note_viewer.dart +++ b/lib/note_viewer.dart @@ -95,6 +95,7 @@ class NoteViewer extends StatelessWidget { ); } + /* Widget _buildFooter(BuildContext context) { return new Padding( padding: const EdgeInsets.only(top: 8.0, bottom: 8.0), @@ -118,4 +119,5 @@ class NoteViewer extends StatelessWidget { ), ); } + */ } diff --git a/lib/storage/git_storage.dart b/lib/storage/git_storage.dart index 05aca406..cbd54074 100644 --- a/lib/storage/git_storage.dart +++ b/lib/storage/git_storage.dart @@ -27,7 +27,7 @@ class GitNoteRepository implements NoteRepository { }) : _fileStorage = FileStorage( noteSerializer: new MarkdownYAMLSerializer(), getDirectory: getDirectory, - ) {} + ); @override Future addNote(Note note) async {