Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Make logo SQLIte blob to Data() conversion work (#771)

Leendert de Borstc005c0cdc0df
diff --git a/mobile-app/ios/VaultStore/VaultStore.swift b/mobile-app/ios/VaultStore/VaultStore.swift
index 1c656c427..ee18ab8f3 100644
--- a/mobile-app/ios/VaultStore/VaultStore.swift
+++ b/mobile-app/ios/VaultStore/VaultStore.swift
@@ -454,7 +454,7 @@ public class VaultStore {
id: UUID(uuidString: serviceId)!,
name: row[8] as? String,
url: row[9] as? String,
- logo: row[10] as? Data,
+ logo: (row[10] as? SQLite.Blob).map { Data($0.bytes) },
createdAt: serviceCreatedAt,
updatedAt: serviceUpdatedAt,
isDeleted: serviceIsDeleted