Using proper error screen

This commit is contained in:
2024-11-18 07:37:03 +01:00
parent 308092415b
commit 484a4698fa
3 changed files with 26 additions and 32 deletions

View File

@@ -18,8 +18,7 @@ class FileLogbookRepository: LogbookRepository {
try {
listener.onLogbookLoaded(loadLogbook(context))
} catch (e: FileNotFoundException) {
Log.d(TAG, "No logbook file found")
listener.onIOError(e)
Log.d(TAG, "No logbook file found, will be created at first save")
}
}