mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 10:17:16 +08:00
Fix problems spotted by flutter analyze
This commit is contained in:
@ -95,6 +95,7 @@ class NoteViewer extends StatelessWidget {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
Widget _buildFooter(BuildContext context) {
|
Widget _buildFooter(BuildContext context) {
|
||||||
return new Padding(
|
return new Padding(
|
||||||
padding: const EdgeInsets.only(top: 8.0, bottom: 8.0),
|
padding: const EdgeInsets.only(top: 8.0, bottom: 8.0),
|
||||||
@ -118,4 +119,5 @@ class NoteViewer extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@ class GitNoteRepository implements NoteRepository {
|
|||||||
}) : _fileStorage = FileStorage(
|
}) : _fileStorage = FileStorage(
|
||||||
noteSerializer: new MarkdownYAMLSerializer(),
|
noteSerializer: new MarkdownYAMLSerializer(),
|
||||||
getDirectory: getDirectory,
|
getDirectory: getDirectory,
|
||||||
) {}
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<NoteRepoResult> addNote(Note note) async {
|
Future<NoteRepoResult> addNote(Note note) async {
|
||||||
|
Reference in New Issue
Block a user