dont clear the database

This commit is contained in:
Garth Vander Houwen 2022-07-11 09:47:28 -07:00
parent 653ad259df
commit 39dc6370eb

View file

@ -34,7 +34,7 @@ class PersistenceController {
init(inMemory: Bool = false) {
container = NSPersistentContainer(name: "Meshtastic")
self.clearDatabase()
//self.clearDatabase()
if inMemory {
container.persistentStoreDescriptions.first!.url = URL(fileURLWithPath: "/dev/null")