From ed90291b931bd524525d5e411d229d6c3a1df51b Mon Sep 17 00:00:00 2001 From: Ryan Peters Date: Tue, 7 Feb 2023 11:52:44 -0500 Subject: [PATCH] use Save method for initializing file --- Services/FileNoteService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/FileNoteService.cs b/Services/FileNoteService.cs index 7cea087..82137bb 100644 --- a/Services/FileNoteService.cs +++ b/Services/FileNoteService.cs @@ -11,7 +11,7 @@ // ensure initialized if (!File.Exists(filePath)) { - File.WriteAllText(filePath, "Hi! Feel free to start typing. Everything will be saved soon after you are done typing."); + Save("Hi! Feel free to start typing. Everything will be saved soon after you are done typing."); } }