fix some glitches related to notes synced to files

This commit is contained in:
tibbi
2019-03-08 22:56:35 +01:00
parent 853ee3143c
commit aa25f23c38
2 changed files with 45 additions and 22 deletions

View File

@ -17,7 +17,7 @@ data class Note(
fun getNoteStoredValue(): String? {
return if (path.isNotEmpty()) {
return try {
try {
File(path).readText()
} catch (e: FileNotFoundException) {
null