mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 18:38:36 +08:00
Remove invalid assert
Not sure why I put this assert, it doesn't seem to make sense.
This commit is contained in:
@ -291,7 +291,6 @@ class Note with NotesNotifier {
|
|||||||
|
|
||||||
// FIXME: What about error handling?
|
// FIXME: What about error handling?
|
||||||
Future<void> save() async {
|
Future<void> save() async {
|
||||||
assert(_filePath != null);
|
|
||||||
assert(_data != null);
|
assert(_data != null);
|
||||||
assert(_data.body != null);
|
assert(_data.body != null);
|
||||||
assert(_data.props != null);
|
assert(_data.props != null);
|
||||||
|
Reference in New Issue
Block a user