diff --git a/Services/FileNoteService.cs b/Services/FileNoteService.cs index 228c60f..f905134 100644 --- a/Services/FileNoteService.cs +++ b/Services/FileNoteService.cs @@ -32,7 +32,7 @@ public void SaveNote(string noteName, string? content = null) { - if (string.IsNullOrWhiteSpace(noteName)) + if (string.IsNullOrWhiteSpace(content)) { content = "Hi! Feel free to start typing. Everything will be saved soon after you are done typing."; }