use Save method for initializing file
This commit is contained in:
@ -11,7 +11,7 @@
|
|||||||
// ensure initialized
|
// ensure initialized
|
||||||
if (!File.Exists(filePath))
|
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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user